Question: Given the function prototype: bool IsGreater( int, int ); Which of the following statements is not a valid call to the IsGreater function? (The data
Given the function prototype:
bool IsGreater( int, int );
Which of the following statements is not a valid call to the IsGreater function? (The data types of the variables are suggested by their names.)
| a) for (i = 0; i++, IsGreater(inputInt, i)) dosomething; |
| b) someBoolean = IsGreater(someInt, 8); |
| c) if (IsGreater(5, someInt)) intCounter++; |
| d) while (IsGreater(inputInt, 23)) cin >> inputInt; |
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
