2077 12

BIT102 ยท 2077 ยท 5 marks

How break statement is different from continue statement? Explain with suitable example.

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

C ProgrammingChapter 4: Control StructuresBreak and continue statements

Feature break continue --------- Purpose Terminates the entire loop immediately Skips only the current iteration Control flow Exits the loop body completely Goes back to the loop condition check Remaining iterations All remaining iterations are skipped Remaining iterations still execute Used in L...