goto Statement

goto Statement


By using this jumping statements we can transfer the control from current location to anywhere in the program.

To do all this we have to specify  a label with goto and the control will transfer to the location where the label is specified.

Syntax: 

	<label>:
statement;
goto <label>;

Note : 

It is good programming style to use the break, continue and return instead of goto. However, the break may execute from single loop and goto executes from more deeper loops.

CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level NIELIT Study material and Quiz Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Website development Company in Allahabad