以下程序是求矩阵 a , b 的乘积,结果存入矩阵 c 中,并按矩阵形式输出。请填空。 #include
void main( ) { int a[3][2] = {1,2,3,4,5,6}; int b[2][2] = {2,4,6,8}; int i,j,k,s,c[3][2]; for(i = 0;i<3;i++ ) for(j = 0;j<2;j++ ) { for( ; k<2; k++ ) s += ; c[i][j] = s; } for(i = 0;i<3;i++ ) { for(j = 0; j<2; j++ ) printf(“%6d”, c[i][j]); ; } }