2075 4

CSC115 ยท 2075 ยท 5 marks

What is break statement ? Discuss with example. How the break statement is different from continue statement? [1+0.5+3.5]

What is break statement ? Discuss with example. How the break statement is different from continue statement? [1+0.5+3.5]

C ProgrammingChapter 5: Control StatementBreak and Continue

--- The break statement is a jump statement used inside loops (for, while, do...while) and switch statements. When a break statement is encountered, the execution of the entire loop or switch case is immediately terminated, and the control is transferred to the statement immediately after the loo...