Home » C Programming » Memory Allocation

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; }

← Previous Next →

Discussion & Comments

No comments yet. Be the first to comment!