Kamis, 11 Mei 2017

What are the uses of the Goto statement in programming

Unlike other selection or branching statements that we have seen so far which branches based on a condition, the goto statement branches unconditionally. That is why the goto statement is also referred to as unconditional jump statement. There are two more unconditional branch statements in C. They are: break and continue. We have already seen the break statement in switch statement. But both break and continue are extensively used inside loops. So, we will discuss about these two unconditional branch statements later. By using the goto branch statement, we can either skip some instructions and jump forward in the program

The post What are the uses of the Goto statement in programming appeared first on Coding Security.


What are the uses of the Goto statement in programming
read more

Tidak ada komentar:

Posting Komentar