A do-while loop terminates when its controlling expression evaluates to
Answer: B
Correct answer: Zero
A loop continues while its condition is true, that is non-zero, and stops when it evaluates to zero. The do-while differs from the others only in when the test happens - after the body rather than before - so the body always runs at least once.
Please log in or register to report this question.