While passing an array as an actual argument, the function call must have
While passing an array as an actual argument, the function call must have the array name alone.
An array reference always "decays" to a pointer to the first element of the array. Therefore, it isn't possible to pass an array "by value". An array in a function call will be passed to the function as a pointer, which is analogous to passing the array by reference.
While passing arrays as arguments to the function, only the name of the array is passed. C program to pass an array containing age of person to a function. This function should find average age and display the average age in main function.