Transpose of A Matrix
Transpose of A Matrix
#include <stdio.h>
void main()
for(j=0;j<c;j+t)
printf("\n\n");
Output:
Transpose of a Matrix:
Input the rows and columns of the matríx :22
Input elements in the first matrix :
element - [0],[0] :1
element -[0],[1] : 2
element - [1],(0] : 3
element - [1],[1] : 4
The matrix is :
1 2
3 4
The transpose of a matrix is :
1 3
2 4