Jump control statements In C, jump statements are

Jump control statements In C, jump statements are
1 / 1
Jump control statements In C, jump statements are - slide 1 of 7 Jump control statements In C, jump statements are - slide 2 of 7 Jump control statements In C, jump statements are - slide 3 of 7 Jump control statements In C, jump statements are - slide 4 of 7 Jump control statements In C, jump statements are - slide 5 of 7 Jump control statements In C, jump statements are - slide 6 of 7 Jump control statements In C, jump statements are - slide 7 of 7
Jump control statements In C, jump statements are used to jump from one part of the code to another altering the normal flow of the program. They are used to transfer the program control to somewhere else in the program. Types of Jump

Related Topics

Download this presentation From Below

"Jump control statements In C, jump statements are" is the property of its rightful owner. Permission is granted to download and print the materials on this website for personal, non-commercial use only, and to display it on your personal computer provided you do not modify the materials and that you retain all copyright notices contained in the materials. By downloading content from our website, you accept the terms of this agreement.

Presentation Transcript

01
Jump control statements<br>
02
In C, jump statements are used to jump from one part of the code to another altering the normal flow of the program. They are used to transfer the program control to somewhere else in the program.
Types of Jump Statements in C
There are 4 types of jump statements in C:
1. break
2. continue
3. goto
4. return<br>
03
1. break in C
The break statement exits or terminates the loop or switch statement based on a certain condition, without executing the remaining code.
break is a keyword in “c” statement is used to terminate the loop i.e., the control comes out from the current loop. When over the break keyword is encountered. It is also called as loop terminator.
The break statement is widely used with for loop, while loop & do-while loop.
Syntax : break;<br>