1.

How many bytes of memory will the following code reserve?

#include<stdio.h>
#include<stdlib.h> 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


Discussion

No Comment Found