Home » C Programming » Memory Allocation

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

Correct Answer: 1314

← Previous Question Next Question→

Discussion & Comments

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