

MCQOPTIONS
Saved Bookmarks
1. |
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; } |
A. | 1314 |
B. | Garbage value |
C. | 1316 |
D. | Random address |
Answer» B. Garbage value | |