Home » C Programming » Memory Allocation

What will be the output of the program (16-bit platform)? #include #include int main() { int *p; p = (int *)malloc(20); printf("%d\n", sizeof(p)); free(p); return 0; }

Correct Answer: 2

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion