Use the continue statement to immediately proceed to the next iteration of the innermost loop. If the innermost loop is a for loop then the loop action will be executed. The next iteration will begin as usual by evaluating the loops test condition to see if the loop should continue.

Example 7.8. continue syntax

for(i = 0; i < j; i++)
    // Don't do anything this time around if i is an odd number
    if(i % 2 == 1)

    // Do stuff