#define _CRT_SECURE_NO_WARNINGS#include#include #include void main() { int a[3][5][3]; int num = 0; for (int * b = &a[0][0][0]; b < (&a[0][0][0] + 45); b++) { // 45 = 3*5*3 * b = ++num; } for (int i = 0; i < 3; i++) { for (int j = 0; j < 5; j++) { for (int k = 0; k < 3; k++) { printf("%-3d ", a[i][j][k]); } } } getchar();