#include <stdio.h>
typedef int(*ptr)[2][3];
int main()
{
int arr[2][3] = { {1, 2, 3}, {4, 5, 6} };
ptr p = arr;
printf("%d %d %d\n", p[0][0][0], p[0][0][1], p[0][0][2]);
printf("%d %d %d\n", p[0][1][0], p[0][1][1], p[0][1][2]);
return 0;
}
/*
run:
1 2 3
4 5 6
*/