| C Tutorial | Continue statement | |||
|
If Statement Ternary Operator Switch Statement While Loop Do-While Loop For Loop Break Continue
|
The continue statement causes control to jump to the bottom of the loop, effectively skipping over any code below the continue. As with break, this has a reputation as being vulgar, so use it sparingly. You can almost always get the effect more clearly using an if inside your loop.
while (<expression>) { ... if (<condition>) continue; ... ... // control jumps here on the continue }
Want To Know more with Video ???
|
|