

MCQOPTIONS
Saved Bookmarks
1. |
How many bytes of memory will the following code reserve? #include #include int main() { int *p; p = (int *)malloc(256 * 256); if(p == NULL) printf("Allocation failed"); return 0; } |
A. | 65536 |
B. | Allocation failed |
C. | Error |
D. | No output |
Answer» C. Error | |