Question: I need help in coding in C Question 4 (16 pts) Write function sum2 d) that sums up the values each row in a 2-D
I need help in coding in C

Question 4 (16 pts) Write function sum2 d) that sums up the values each row in a 2-D array into a 1-D arrav. #define NROWS 3 #define NCOLS 4 * Incomplete function prototype (you must find the right parameters) * void sum 2d(...); int main(void) int array2d [NROWS] [NCOLS] = { 1 3, 4, 2, 9 , 1 4, 2, 8, 4 , 1 5, 2, 6, 1 1, int array1d [NROWS]; sum 2d(array2d, array1d); return 0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
