Ask Question
31 March, 07:03

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;

+3
Answers (1)
  1. 31 March, 08:56
    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 and Technology if you're in doubt about the correctness of the answers or there's no answer, then try to use the smart search and find answers to the similar questions.
Search for Other Answers