PASSING OF ARRAYS TO FUNCTIONS
If an entire array is passed to a function, any changes made also
occur to the original array.
PASSING OF MULTIDIMENSIONAL ARRAYS TO FUNCTIONS
If passing a multidimensional array, the number of columns must
be specified in the formal parameter declaration section of the
function.
EXERCISE C16
Write a C program incorporating a function to add all elements of
a two dimensional array. The number of rows are to be passed to
the function, and it passes back the total sum of all elements
(Use at least a 4 x 4 array).