```c
#define _CRT_SECURE_NO_WARNINGS
#include<stdio.h>
#include<stdlib.h>
int main(void) {
//二维数组的初始化
int test[3][3] = { 1,2,3,4,5,6,7,8,9 };
int test_1[3][3] = { {1,2,3},{4,5,6},{7,8,9} };
int test_2[3][3] = { 1,2,3,4,5,6 }; //不足部分补 0
//二维 多维数组可以看成数组的数组
int test_3[3][3];
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
printf(" %d ",test[i][j]);
}
printf("\n");
}
}