C Programming20795 marksArrays as function arguments
Write a program with a function that takes an array as an argument and returns its sum to the main function.
Write a program with a function that takes an array as an argument and returns its sum to the main function. [5]
--- --- Concept Description ------ Function argument arr[] passes the array by reference (address); size passes the count by value Return value return sum; sends the computed sum back to main() Function declaration Prototype int arraySum(int arr[], int size); declared before main() Accumulator Va...