C program to find transpose of a matrix.

 

Sample Input
Enter the number of rows and columns of matrix :3 3
Enter the elements of matrix :
1 2 3
1 2 0
4 7 9
Sample Output
Entered matrix is:
1 2 3
1 2 0
4 7 9
Transpose of entered matrix :-
1 1 4
2 2 7
3 0 9

You may also like...