Continue in a Loop
static int code = 0;
void funcWhileIfContinue (void)
{
while (code > 0)
{
if (code == 3)
{
continue;
}
--code;
}
if (code == 0)
{
code++;
}
}
The continue statement causes the program to jump back to the beginning of the while loop.