Continue Statement in C Language:
(1) The continue is another jump statement like the break statement as both the statements skip over a part of the code. But the continue statement is somewhat different from the break. Instead of forcing termination, it forces the next iteration of the loop to take place, skipping any code in between.
(2) Sample C language code and its output, as shown:

#include <stdio.h> #include <conio.h> //BREAK Statement int main() { int x; for (x = 0; x < 20; x++) { if (x == 15) { //skip 15 number from loop when x = 15 continue; } printf(“%d\n”, x); } getch(); return 0; } |
(3) After that go to the “Build” menu and select the “Build” option for publishing the code as shown.

(4) After building the code, press the “Run” button, as shown.

(5) After pressing the “run” button, the output screen is opened, as shown.

Use of OR Operator in SQL Use of CHAR function in SQL Use of CONCAT Function in SQL CONCAT_WS (Transact-SQL)– Microsoft Docs |