Ask 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 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;

+4
Answers (1)
  1. 15 October, 09:34
    0
    a) for (i = 0; i++, IsGreater (inputInt, i))

    dosomething;

    Explanation:

    The for loop statement is incorrect.
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Given the function prototype: bool IsGreater (int, int); Which of the following statements is not a valid call to the IsGreater function? ...” in 📗 Computers & Technology if the answers seem to be not correct or there’s no answer. Try a smart search to find answers to similar questions.
Search for Other Answers