2078 4

C Programming20785 marksBreak and continue statements

How break statement is different from continue statement. Explain with examples?

How break statement is different from continue statement. Explain with examples? [5]

The break statement is used to immediately terminate the loop (or switch) in which it appears. When break is executed, the program control jumps to the first statement after the loop. Output: The loop stops completely when i == 5. --- The continue statement is used to skip the current iteration o...

Up nextWhat is the basic structure of a C program? Explain each part.