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
Why do we write return 0 in c?
What is #include stdio h and #include conio h?
What is the difference between test design and test case design?
What is the use of bitwise operator?
What does a function declared as pascal do differently?
What is the difference between declaring a variable and defining a variable?
What are the advantage of c language?
What is difference between structure and union in c?
How do you print only part of a string?
Is array a primitive data type in c?
What are pointers in C? Give an example where to illustrate their significance.
What is calloc()?
What is bubble sort in c?
What is wild pointer in c with example?
what do you mean by enumeration constant?