Question: The following C function takes a 5x4 array as an input, calculates the sum of values in each column and stores them in the sum

The following C function takes a 5x4 array as an input, calculates the sum of values in each column and stores them in the sum array; void sumcol (int arr[] [4]) { int sum[4]={0,0,0,0}; int i, j; for(i=0; i
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
