02/21/00
COM1100 Winter2000 Yuhong Yin
11
Array as function arguments – case 2
n// function call
n int grade[5] = {98, 87, 74, 65, 82};
n  
n cout << "The max number in the array is : "
n << find_max(grade, 5) << endl;
nWhen you call the function find_max by passing the complete array and the size of the array, you only need to put the name of the array. You don’t need to put [].
n