Tutorial references

c
c++
c#

Tutorial references

chapters

Goto in C

goto

goto is a keyword.

goto statement use to jump on again: statement on a condition. Program again start from again: statement.

Example

#include<stdio.h>
#include<conio.h>
void main(){
int age;
clrscr();
again:
printf("\nenter age: ");
scanf("%d",&age);
if(age<18){
printf("\n Not eligible for vote");
goto again;
}
else{
printf("\n Eligible for vote");
}
getch();
}

Run program

About Us

This website(www.sabbla.com) is very useful for beginners and professional developers. Sabbla provides tutorial in simple language. It provides latest technology tutorial which very useful for developers.

See More...

Contact Us

+91 9971366710

+91 9717983128

info@sabbla.com

Buxar, Bihar, India, Pin No.- 802131

Services

Sabbla is providing free latest technology tutorials. All tutorials are free for beginner and professionals.


Terms of Use

sabbla.com is not responsible for any mistake. Users can inform to sabbla.com for any mistake. But sabbla.com always try for 0-0 mistake.

Privacy policy

Currently sabbla.com does not collect any data from users.

                   

copyright © 2017-2018