C++ multidimensional array and pointers to table of pointers
问题 Here is the thing. I can completely understand a concept of a multidimensional array (let's consider 2D for a while) made by pointer to array to pointers and so on... We do something like this: // we can use dynamically defined size n and m int n = 3, m = 5 ; int **T = new int *[n]; for (int i = 0 ; i < n ; ++i) T[i] = new int[m]; What we got is: (Check if I'm right here) 3 blocks of memory of 5 ints, placed somewhere in memory One additional block of memory of same size as number of the