#include <iostream>
using namespace std;
typedef int int_arr[4];
int main()
{
int ia[3][4] =
{
{0, 1, 2, 3},
{4, 5, 6, 7},
{8, 9, 10, 11}
};
//int (*p)[4];
int_arr *p;
for(p = ia; p != ia + 3; ++p)
{
for(int *q = *p; q != *p + 4; ++q)
cout << *q << endl;
}
return 0;
}