Passing an Array to a FunctionExample
void FillArray (int array[ ], int numElems) ;
FillArray ( array, SIZE);
/* Print the elements of the array */
for ( i = 0; i < SIZE; i++)
printf (array[%d] = %d\n”,
/*******************************************
FillArray is a function that will fill each element of any integer array passed to it with a value that is the same as that element’s subscript. *******************************************/
void FillArray (int array[ ],
for ( i = 0; i < numElems; i++)