Question: write c programing function that takes a 2D array and an integer that represents a row in the received 2D array, this function should return
write c programing function that takes a 2D array and an integer that represents a row in the received 2D array, this function should return the sum of all elements in that row[i]. Of course, you should call this function N times to find the sum of all rows. The returned results (sum of all elements in one row of the 2D) should be stored in a corresponding cell of a result 1D array that is also dynamically allocated of size N.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
