Pointer arithmetic write a program that dynamically allocates memory for a 2d array of integers (matrix) based on user input for the number of rows and columns. fill the matrix with consecutive integers starting from 1. then, using pointer arithmetic, find and print the sum of each row and column.