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 / surenda pal singh chouhan

Compiler error: Undefined label 'here' in function main

Explanation:
Labels have functions scope, in other words The scope of
the labels is limited to functions . The label 'here' is
available in function fun() Hence it is not visible in
function main.

Is This Answer Correct ?    16 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which is better between malloc and calloc?

1198


What is a lookup table in c?

1120


can we change the default calling convention in c if yes than how.........?

2531


Difference between Function to pointer and pointer to function

1069


What is signed and unsigned?

1059


Why enum is used in c?

955


Is it possible to execute code even after the program exits the main() function?

1340


Explain how do I determine whether a character is numeric, alphabetic, and so on?

1134


What is the difference between exit() and _exit() function?

1045


What is the meaning of && in c?

1015


There seem to be a few missing operators ..

1048


Where can I get an ansi-compatible lint?

1147


How to write a multi-statement macro?

1046


What is NULL pointer?

1091


write a program to rearrange the array such way that all even elements should come first and next come odd

2275