/*File: transpose.c The transpose of matrix A is obtained by interchanging the rows and columns. */ #include #define M 10 #define N 20 int main() { double a[M][N], b[N][M]; int row,col; for(row=0;row