Question: Please read the question and instructions properly and answer accordingly. the c file is: Recall how 2D arrays are represented in memory. You are provided

Recall how 2D arrays are represented in memory. You are provided a C file called sum-2d-array. c that contains the function sum_two_dimensional_array shown below. You are also provided a Makefile that compiles the program. Rewrite the given function to use pointer arithmetic instead of array subscripting. In other words, eliminate the variables i and j and all uses of the [] operator. Use a single loop instead of nested loops and do not change the function signature. You will get a 0 on this part if your program uses integer array indices instead of pointers, or if it uses a nested loop. The following is the expected output of the program. This output should remain the same after you re-write the sum_two_dimensional_array function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
