Continue
Continue terminates the current iteration and immediately starts next iteration of the loop.
- More precisely, if we encounter a continue statement in a while loop, we immediately jump to the top of the loop and test the expression to determine whether to execute the body of the loop again.
- In do while, we immediately jump to the bottom of the loop and test the expression to determine whether to execute the body of loop again.
- In for loop, if we encounter a continue statement, the execution proceeds immediately to the update part (expr3).