• 2021-04-14
    下面程序的功能是检查一个二维数组是否对称(即:对所有ij都有a[i][j]=a[j][i]).请填空。#include int main(){int a[4][4]={1,2,3,4,2,2,5,6,3,5,3,7,4,6,7,4}; int i,j,found=0; for(j=0;i<4;j++) for(i=j+1; i<4;i++) if( ) { found=1; break;} if(found) printf(No); else printf(Yes); return 0;}