Why my code is not getting accepted
Create a structure Matrix having member interger type variables, 2d pointer, rows, columns. Write function to initialize and remove dyanmic memory. Write functions to read and print values. Print function is to print all elements in matrix form. Read function will read values and place into Matrix. Write function to multiply ith row of matrix with some element, note here i starts from 1 not from 0. Write function to interchange ith column with jth column. Finally, write main to demonstrate Matrix. Read rows & columns and initialize Matrix. Next read (rows x columns) elements and place in matrix row wise. Print matrix. Next read two integers. First is row number (again starting row is 1, be careful), second is number for multiplication. Multiply all elements of specific row with the number. Lastly, read two more integers representing column numbers. Interchange columns accordingly. Final print matrix again. What I have done so far to solve this Problem. Input Format 3 2 2 6 4 4 3 1 2 2 1 3 Constraints No Constraint Output Format 2 6 4 4 3 1 4 6 2 2 3 8