Jump statement in C++ by R4R Team

What is Jump statement?
-Jump statements cause an unconditional jump to another statement elsewhere in the code. They are used primarily to interrupt switch statements and loops.

How many jump statement in C++ ?
-break
-continue
-goto

Break statement:
-It is statement which break the line and come outside the scope of the loop or anything.
Basically, break statement is only work in loops and switch cases in C++

Continue statement:
It is jumping statement which continue the loop iteration from the point where it written.

Goto statement:
It is jumping statement in C++ which is absent in java or python programming language.
-It jump from one line to another specified line.




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!