# includeint i, j; int value; int mat[10][10]; void display(int, int); void display_o( int transp[10][10],int, int); void input( int transp[10][10],int, int); void transpose( int transp[10][10],int, int); void transpose(int transp[10][10], int row, int col) { for(i = 0; i< row; i++) { for(j = 0; j < col; j++) { mat[i][j] = transp[j][i] ; } } } void display(int row, int col) { for(i = 0; i < row; i++) { for(j = 0; j < col; j++) { printf(" %d", mat[i][j]); } printf("\n"); } } void display_o(int transp[10][10], int row, int col) { for(i = 0; i < row; i++) { for(j = 0; j < col; j++) { printf(" %d", transp[i][j]); } printf("\n"); } } void input(int transp[10][10], int row, int col) { for(i = 0 ; i< row; i++) { for(j = 0 ; j
C Program to Find Transpose of a matrix
Next Article to Read
Among many other career blogs, Fun-The-Mentals is a different blog to help students achieve their goals.. This blog is maintained by Debashish and group. The blog is intended to bring decent and genuine information to the students of colleges and universities to help their preparation for job in the competitive world.
Add on Facebook
?
0 comments:
Post a Comment