rendered paste body#include<stdio.h>struct matrix{ int cols; int rows; float arr[16][16];};main() {int row,i,temp;struct matrix mat1,mat2;printf("enter the number of columns ");scanf("%d",&mat1.cols);printf("enter the number of rows ");scanf("%d",&mat1.rows);for(row = 0; row<mat1.rows;row++){ printf("enter %d values of row %d ",mat1.cols,row+1); for(i = 0; i<mat1.cols;i++){ scanf("%f",&mat1.arr[i][row]); }}for(row = 0; row<mat1.rows;row++){ for(i = 0; i<mat1.cols;i++){ printf("%d ",mat1.arr[i][row]); } printf("\n");}}