一、初始化;int a[100][100]={0};
二、
1.int a[100][100];
2.memset(a,0,sizeof(a));
三、动态分配内存方式构建数组,把malloc函数改用成calloc函数。
一、初始化;int a[100][100]={0};
二、
1.int a[100][100];
2.memset(a,0,sizeof(a));
三、动态分配内存方式构建数组,把malloc函数改用成calloc函数。