关于数组的定义
#include <stdio.h>
int main ()
{
int a=0,b=4,n=3;
int i,j;
int aa[5][5];
int s,h;
while (n>0)
{
for (i=a;i<=b;i++)
{
for (j=a;j<=b;j++)
aa[i][j]=n;
}
n--;
a++;
b--;
}
for (s=0;s<=4;s++)
{
for (h=0;h<=4;h++)
printf("%d",aa[s][h]);
printf("\n");
}
getchar();
return 0;
}
其中为何要将数组定义为aa[][]而不是a[],有何区别