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

Why do we write return 0 in c?

548


What is #include stdio h and #include conio h?

595


What is the difference between test design and test case design?

1564


What is the use of bitwise operator?

683


What does a function declared as pascal do differently?

603






What is the difference between declaring a variable and defining a variable?

717


What are the advantage of c language?

548


What is difference between structure and union in c?

542


How do you print only part of a string?

609


Is array a primitive data type in c?

573


What are pointers in C? Give an example where to illustrate their significance.

746


What is calloc()?

625


What is bubble sort in c?

631


What is wild pointer in c with example?

570


what do you mean by enumeration constant?

594