MCQOPTIONS
Saved Bookmarks
| 1. |
Which statment is true about the given code ? #include #include int main() { int *a[5]; a = (int*) malloc(sizeof(int)*5); free(a); return 0; } |
| A. | Error: unable to allocate memory |
| B. | Error: We cannot store address of allocated memory in a |
| C. | Error: unable to free memory |
| D. | No error |
| Answer» C. Error: unable to free memory | |