91-9990449935 0120-4256464 |
C goto statementThe goto statement is known as jump statement in C language. It is used to unconditionally jump to other label. It transfers control to other parts of the program. It is rarely used today because it makes program less readable and complex. Syntax: goto exampleLet's see a simple example to use goto statement in C language. Output: You are not eligible to vote! Enter you age: 11 You are not eligible to vote! Enter you age: 44 You are eligible to vote!
Next TopicType Casting in C
|