+ 1
Pointer to multi dimensional array?
1.Is it possible to create a pointer to a multi dimensional? If i use the following code it works: int *someName; someName = new int[x]; reference to array: *(someName + i) but the following does not work: int *someName; someName = new int[x][y]; 2.how would I reference to a multi dimensional array?
1 Answer