Well CommonTater has the right idea, but you need to get the syntax right for "an array of pointers to 2D arrays".
Something like this
Code:
#include<stdio.h>
#include<stdlib.h>
int main()
{
int a1[2][3] = { { 1, 2, 3 }, { 4, 5, 6 } };
int a2[2][3] = { { 10, 20, 30 }, { 40, 50, 60 } };
int (*a3[])[3] = { a1, a2 };
int x, y, z;
for ( x = 0 ; x < 2 ; x++ ) {
for ( y = 0 ; y < 2 ; y++ ) {
for ( z = 0 ; z < 3 ; z++ ) {
printf("%d, ",a3[x][y][z] );
}
printf("\n");
}
}
return 0;
}
$ gcc bar.c
$ ./a.out
1, 2, 3,
4, 5, 6,
10, 20, 30,
40, 50, 60,