C++ Demystified(c) A Self-Teaching Guide
-
Which of the three loops for, while, or do whileexecutes at least once?
-
Which of the three loopsfor, while, or do whileis the best choice when the number of iterations is predictable?
-
Is the parenthetical expression following the while keyword for initialization, condition or update?
-
May the parenthetical expression following the while keyword be true, such as while (true)?
-
Can the parenthetical expression following the while keyword combine two expressions?
-
What is the purpose of the break keyword in a while loop?
-
What is the purpose of the continue keyword in a while loop?
-
What is a flag?
-
If you were going to use nested while loops to print rows and columns , which for loop would print the rows, inner or outer?
-
Does a variable declared inside the body of a do while loop have scope in the parenthetical expression following the while keyword?