Question:What is the purpose of the continue statement in a loop?
A To end the loop.
B To skip the current iteration and continue with the next one.
C To restart the loop.
D To pause the loop.
/18
+ Answer
B
+ ExplanationTo skip the current iteration and continue with the next one.
Analysis: The continue statement skips the remaining code in the current loop iteration and proceeds to the next iteration.