If you have said
int *arr = new int[5];
What is the difference between
delete arr;
and
delete [] arr;
I ask this because I was trying to deallocate memory of a 2d array and
delete [][] arr;
did not seem to work but
delete arr;
seemed to work fine
Thank you in advance!