Continue Control

Continue statement is used in a loop only.
This is used to force the next iteration of the loop skipping the code that is written below the continue statement inside the loop.




Syntax for 'Continue Control'

continue ; 



C Example


#include<stdio.h>

int main() {

	int i;

	for (i=1;i< 5;i++) {

		if(i==3) {

			continue;

		}

		printf("%d\n",i);

	}

	return 0;

}