#include<iostream>
using std::cout
int main(void)
{
int ia[3][4] = { /* 3 elements, each element is an array of size*/
{0, 1, 2, 3} , /* initializers for row indexed by 0 */
{4, 5, 6, 7} , /* initializers for row indexed by 1 */
{8, 9, 10, 11}/* initializers for row indexed by 2 */
};
for (int(*p)[4] = ia; p != ia + 3; ++p)
for (int* p1 = *p; p1 != *p + 4; ++p1)
cout << *p1 << endl;
return 0;
}