Multiple Choice
How many times will the following loop display "Hello world!"?
For (int i = 0; i < 20; i++)
Cout << "Hello world!" << endl;
A) 20
B) 19
C) 21
D) an infinite number of times
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q4: What will the following code display?<br>Int number
Q9: An initialization expression may be omitted from
Q10: An output file is a file that
Q11: The while loop is a _ loop.<br>A)
Q12: A variable that is regularly incremented or
Q13: Multiple relational expressions cannot be placed into
Q15: You may not use the break statement
Q16: This operator increments the value of its
Q18: You may not use both break and
Q19: The update expression of a for loop