Question: c++ 8.0 Consider the following definition: void tripler(int n) { return 3*n; } Which of the following are acceptable function calls? int a[3] = {4,5,6},
c++ 8.0 Consider the following definition: void tripler(int n) { return 3*n; } Which of the following are acceptable function calls? int a[3] = {4,5,6}, number = 2; tripler(number); tripler(a[2]); tripler (a[3]); tripler(a[number]); tripler(a);
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
