Members may post updates or alternatives to this current article in order to show different
approaches or add new features.
The second form is wrong. A two dimensional pointer does not equal to a two dimensional array. But you can use an one dimensional pointer to reference the two dimensional array.int arr;int *pTwoDem=(int*)arr;Now you can use *(pTwoDem+10) to replace arr.