Just want to make sure Im not doing something completely wrong:
Assume I have a two dimensional array:
int array[MAXCOLS][MAXROWS];
How do I declare and point a pointer to one of its elements? say array[1][2]
Currently I have it set like this:
int *p = &array[1][2];
But I receive garbage.
Thanks!