KwickClips Cyber Safety and Ethics · 40 sec · free
Does continue stop the loop?
Short answer. No. It skips only that round.
What would break at 3 print?
12.
Remember
| break: leave the loop |
| continue: skip this round |
Break and continue look alike. They are not. At three, continue skips printing, but the loop goes on. Output is one, two, four, five. Break would stop at three. Break leaves the loop. Continue skips only this round.
This clip is from the full lesson: Control Statements in C++: if, switch and Loops — 7 minutes, with the tables, the quick answers and the whole lesson in text.
Useful for: CBSE Class 10 Information Technology (402), CBSE Class 10 Information Technology (402), ISC Class 11 Computer Science (868), GSEB Std 11 Computer Studies
More KwickClips from this lesson
Voice-over is AI-generated; the script is written and checked by Kajal Ma'am. Confirm anything you plan around against your official board document. We never ask for a password or an OTP.




