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