data structures using printf("\ % ",mat[ ][ ])return output enter the elements of the matrix the elements of the matrix are write program to transpose matrix #include #include int main(int ijmat[ ][ ]transposed_mat[ ][ ]clrscr()printf("\ enter the elements of the matrix ")for( = ; < ; ++for( = ; < ; ++scanf("% "&mat[ ][ ])printf("\ the elements of the matrix are ")for( = ; < ; ++printf("\ ")for( = ; < ; ++printf("\ % "mat[ ][ ])for( = ; < ; ++for( = ; < ; ++transposed_mat[ ][jmat[ ][ ]printf("\ the elements of the transposed matrix are ")for( = ; < ; ++printf("\ ")for( = ; < ; ++printf("\ % ",transposed_ mat[ ][ ])return output enter the elements of the matrix the elements of the matrix are the elements of the transposed matrix are