Computer Science, asked by faijul5050husain, 7 months ago

The enable is to jump to a certain position in a program. ​

Answers

Answered by shekhawatsarjeet14
3

Answer:

The goto statement is a jump statement which is sometimes also referred to as unconditional jump statement. The goto statement can be used to jump from anywhere to anywhere within a function.

Syntax:

Syntax1      |   Syntax2

----------------------------

goto label;  |    label:  

.            |    .

.            |    .

.            |    .

label:       |    goto label;

In the above syntax, the first line tells the compiler to go to or jump to the statement marked as a label. Here label is a user-defined identifier which indicates the target statement. The statement immediately followed after ‘label:’ is the destination statement. The ‘label:’ can also appear before the ‘goto label;’ statement in the above syntax.

Explanation:

Similar questions