Multiple Choice
What will the following program segment do?
Int counter = 1;
Do
{
Cout << counter << " ";
} while ++counter <= 10 ) ;
A) Print the numbers 1 through 11.
B) Print the numbers 1 through 10.
C) Print the numbers 1 through 9.
D) Cause a syntax error.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q2: Which of the following is correct when
Q10: Which of the following is not one
Q11: Variables are also known as:<br>A) lvalues, but
Q15: In C++, the condition (4 > y
Q17: The expression if (num != 65) cannot
Q17: If a do…while structure is used:<br>A) An
Q18: In a switch structure:<br>A) A break is
Q20: Consider the execution of the following for
Q26: The OR (||) operator:<br>A) Has higher precedence
Q30: If a variable is declared in the