![Write a C program that uses scanf to read in rows and columns and declares a 2D array using those values. The main program also uses scanf to read in the values to store in the 2D array. Then, create a function Transpose to print both the original matrix and the transpose of the matrix. NOTE: The transpose of a matrix is an operator which flips a matrix over its diagonal, i.e., it switches the row and column indices of the matrix. This matrix: 492 715 382 After being transposed, becomes this matrix: 473 918 252 Output example:](https://gotit-pro.com/wp-content/uploads/2023/10/16d4e863-1c9c-4cae-828e-659bc59ec68e.jpg)
Write a C program that uses scanf to read in rows and columns and declares a 2D array using those values. The main program also uses scanf to read in the values to store in the 2D array. Then, create a function Transpose to print both the original matrix and the transpose of the matrix. NOTE: The transpose of a matrix is an operator which flips a matrix over its diagonal, i.e., it switches the row and column indices of the matrix. This matrix: 492 715 382 After being transposed, becomes this mat