C Program to find the transpose of a matrix using function call.

 

Sample Input
Enter rows and column of matrix: 3 3
Enter elements of matrix:
Enter elements a11: 1
Enter elements a12: 2
Enter elements a13: 3
Enter elements a21: 4
Enter elements a22: 5
Enter elements a23: 6
Enter elements a31: 7
Enter elements a32: 8
Enter elements a33: 9
Sample Output
Entered Matrix:
1 2 3
4 5 6
7 8 9
Transpose of Matrix:
1 4 7
2 5 8
3 6 9

You may also like...