C provides two unconditional branching statements which are extensively used inside the looping statements. They are: break continue break Statement The break statement is used inside the looping statements to break the execution of the loop. When the break statement is encountered inside the loop, the execution of the body of the loop stops and the control is given to the next instruction after the body of the loop. The syntax of the break statement is as shown below: continue Statement The continue statement is used inside the looping statements to skip the execution of a set of instructions and
The post What is the use of break and continue in C programming appeared first on Coding Security.
What is the use of break and continue in C programming
read more
Tidak ada komentar:
Posting Komentar