Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

main()
{
int i=1;
while (i<=5)
{
printf("%d",i);
if (i>2)
goto here;
i++;
}
}
fun()
{
here:
printf("PP");
}

Answer Posted / dinakaran gct

The program is error because of the "goto" statement can't
jump from one segment to another segment i.e not support for
long jump.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a substring in c?

1034


Calculate 1*2*3*____*n using recursive function??

2040


what is the function of pragma directive in c?

1121


What are the functions to open and close file in c language?

1203


What is the difference between malloc() and calloc() function in c language?

1081


What does c mean before a date?

1179


What is a pointer in c plus plus?

1309


Is calloc better than malloc?

1017


What is data structure in c and its types?

1071


What is wrong with this statement? Myname = 'robin';

1325


What is operator precedence?

1204


What is extern c used for?

1062


Write a program to check armstrong number in c?

1130


What does the && operator do in a program code?

1232


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

1070