Home » C Programming » Memory Allocation

What will be the output of the program? #include<stdio.h> #include<stdlib.h> int main() { int *p; p = (int *)malloc(20); /* Assume p has address of 1314 */ free(p); printf("%u", p); return 0; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!