Multiple Choice
What is the output of the following loop? count = 5;
cout << 'St';
do
{
cout << 'o';
count--;
}
while (count <= 5) ;
A) St
B) Sto
C) Stop
D) This is an infinite loop.
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q11: The following while loop terminates when j
Q14: Which of the following loops does not
Q15: In a counter-controlled while loop, the loop
Q21: The _ statement is typically used for
Q25: A software _ is a piece of
Q26: In the case of the sentinel-controlled while
Q29: A for loop is typically called a
Q32: In a sentinel-controlled while loop, the body
Q35: Consider the following code.(Assume that all
Q39: When a continue statement is executed in