At 7:10, why is the initialisation not needed?
Allocating 2D Dynamic Arrays
Hey @yajurkhurana
Actually that syntax wasn’t correct and was giving error thats why sir removed it
To initlaize them u have to run another loop
for(int i=0;i<n;i++){
arr[i]=new int[m];
for(int j=0;j<m;j++)arr[i][j]=0;
}