The continue statement is used inside loop. When a continue statement is encountered inside a loop, control jumps to the beginning of the loop for next iteration, skipping the execution of statements inside the body of loop for the current iteration.
continue;
Example-Use of continue in While loop
#include <stdio.h> int main() { int counter=10; while (counter >=0); { if (counter==7) { counter--; continue; } printf("%d ", counter); counter--; } return 0; }
10 9 8 6 5 4 3 2 1 0