Point out the error in the following program.
#include #include int main() { int *a[3]; a = (int*) malloc(sizeof(int)*3); free(a); return 0; }
Answer: B
We should store the address in a[i]