Answer the question
In order to leave comments, you need to log in
How to describe a pointer to a two-dimensional array?
Good evening
Of course I understand, the question may be a bit stupid, but I can't use ii in my program in any way. How can this object be used to iterate over all the elements of a two-dimensional array?
int i[2][2] = {{1, 2}, {3, 4}};
int **ii = (int**)i;
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question