Ask Question

Inside the parentheses of a while loop, what normally occurs

+1
Answers (1)
  1. 20 March, 15:25
    0
    The correct answer is: "An expression is evaluated."

    Explanation:

    Inside the parentheses of a while loop, there is a conditional statement (or expression) that is evaluated. For example:

    int a = 10;

    while (a>0) {

    cout << a << endl;

    a--;

    }

    In the above snippet of code, you can see that inside the parentheses of a while loop, there is a condition (or expression) a > 0. It is evaluated in every iteration. If that condition meets (or true), the block of while loop will be executed. Hence, the correct answer is "an expression is evaluated."
Know the Answer?
Not Sure About the Answer?
Find an answer to your question 👍 “Inside the parentheses of a while loop, what normally occurs ...” 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