Home » C Programming » Memory Allocation

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

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!