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 / jaroosh

Exactly, to be able to move control flow to here, you would
have to make a long jump using not very common functions
(that do actually more than goto) : setjmp and longjmp
(please look up those functions in google or some C standard
library reference).

Is This Answer Correct ?    5 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain modulus operator. What are the restrictions of a modulus operator?

1061


How to implement a packet in C

2933


Calculate the weighted average of a list of n numbers using the formula xavg = f1x1+f2x2+ ….+ fnxn where the f’s are fractional weighting factors, i.e., 0<=fi<1, and f1+f2+….+fn = 1

4368


which is an algorithm for sorting in a growing Lexicographic order

1867


Write a Program to find whether the given number or string is palindrome.

1342


Why cant I open a file by its explicit path?

1086


What is the argument of a function in c?

1103


find out largest elemant of diagonalmatrix

2326


What does the error message "DGROUP exceeds 64K" mean?

1277


Can you add pointers together? Why would you?

1182


Is array a primitive data type in c?

1133


I was asked to write a program in c which when executed displays how many no.of clients are connected to the server.

2404


What is the best way to store flag values in a program?

1126


what is a NULL Pointer? Whether it is same as an uninitialized pointer?

1331


main() { inta=10,b=20; a>=5?b=100:b=200; printf("%d ",b); }

1650