You are viewing a single comment's thread. Return to all comments →
// frees each array of ints for (int i = 0; i < N; ++i) { delete[] array[i]; } // frees the memory for the array of int pointers delete[] array;
Seems like cookies are disabled on this browser, please enable them to open this website
Variable Sized Arrays
You are viewing a single comment's thread. Return to all comments →