C - Statement continue Statement

Introduction

continue statement skips the current iteration and continue with the next.

The continue statement in the body of a loop is written as:

continue;

Here's an example of how the continue statement works:

enum Day { Monday, Tuesday, Wednesday, Thursday, Friday, Saturday, Sunday};
for(enum Day day = Monday; day <= Sunday ; ++day)
{
  if(day == Wednesday)
    continue;

  printf("It's not Wednesday!\n");
}