Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
int a0[2][2] = { {-1,0}, {0,0} };
int a1[2][2] = { {1,1}, {0,0} };
int (*ar[2])[2] = { a0, a1 };
This is already a three-dimensional array.
int arr[2][2][2] = {{ {1, 2}, {1, 2} }, { {1, 2}, {1, 2} } };
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question