数组 想从键盘上读取多个输入的方法: for(i=1;i<11;i++) scanf("%d", &a[i]); 二维数组的初始化: int a[2][3] = {{1, 2, 3},{4, 5, 6}}; 二维数组列数不能省。 版权声明:本文为博主原创文章,未经博主允许不得转载。