Question: c++ What is wrong with the following code segment? Fix the error and explain why its wrong. int* m[3]; for(int i = 0; i <
c++ What is wrong with the following code segment? Fix the error and explain why its wrong.
int* m[3];
for(int i = 0; i < 3; i++)
m[i] = new int[4];
delete [] m;
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
