int i = 0;

while (i < 5)
{
    i++;
    if (i == 2) continue; //Skip remaining iteration when i=2.
    printf("Loop iteration %d\n", i);
}