The continue keyword is used to skip to the next iteration of a for, while, or do loop.
for (i=0; i<max; i++)
{
<statements>
if (<done with this iteration>)
{
continue;
}
<statements>
}
continue always skips to the next iteration of the innermost enclosing while, for or do statement.