#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
int main(int argc, char* argv[])
{
int arr[2][3][2] = {
{
{1,2},
{5,6},
{9,10}
},
{
{3,4},
{7,8},
{11,12}
}
};
for (size_t i = 0; i < sizeof(arr) / sizeof(arr[0]); ++i) {
for (size_t j = 0; j < sizeof(arr[0]) / sizeof(arr[0][0]); ++j) {
for (size_t k = 0; k < sizeof(arr[0][0]) / sizeof(arr[0][0][0]); ++k) {
printf("%d ", arr[i][j][k]);
}
printf("\n");
}
printf("\n");
}
system("pause");
return 0;
}