Ask Question

Name:
Title:
Your Question:

Answer Question

Name:
Your Answer:
User Submitted Source Code!


Description:
  dd
Language: C/C++
Code:
#include <stdio.h>
#include <stdlib.h>
int main(void)
{
     char a[30];
     char *b = (char*)malloc(20 * sizeof(char));
     printf("%d\n", sizeof(a));
     printf("%d\n", sizeof(a[3]));
     printf("%d\n", sizeof(b));
     printf("%d\n", sizeof(b+3));
     printf("%d\n", sizeof(*(b+4)));
     return 0;
     
}          
Comments: