C Program to Find Transpose of a Matrix

This program takes a matrix of order r*c from the user and computes the transpose of that matrix.

In this program, user is asked to entered the number of rows r and columns c. The value of r and c should be less than 10 in this program.

The user is asked to enter elements of the matrix (of order r*c).

 

Then, the program computes the transpose of the matrix and displays it on the screen.

Example: Program to Find Transpose of a Matrix