char**trans(char**a)//字符矩阵 数字矩阵则改成int{ int i,j; for(i=0;i<5;i++) for(j=0;j { a[i][j]=a[j][i]; } return a;}