Discussion :: Memory Allocation
-
Point out the error in the following program.
#include
#include
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 : Option B
Explanation :
We should store the address in a[i]
Be The First To Comment