C++ Demystified(c) A Self-Teaching Guide
-
What does the increment operator do?
-
What does the decrement operator do?
-
Which occurs first, decrementing or the outputting of the value of num, in the statement cout << --num?
-
What is an iteration?
-
What is the usual purpose of the first expression in the parentheses following the for keyword?
-
What is the purpose of the second expression in the parentheses following the for keyword?
-
What is the usual purpose of the third expression in the parentheses following the for keyword?
-
Can one or more of the expressions in the parentheses following the for keyword be empty?
-
What is the purpose of the break keyword in a for loop?
-
What is the purpose of the continue keyword in a for loop?
-
If you were going to use nested for loops to print rows and columns, which for loop would print the columns inner or outer?
Категории