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
What is const volatile variable in c?
Why do we use null pointer?
An instruction which is analysed and acted upon by the processor prior to the compiler going its work a) directive b) constructive c) constant d) absolute mode
What is #define size in c?
What is the difference between functions getch() and getche()?
How do I read the arrow keys? What about function keys?
Explain void pointer?
How can I call system when parameters (filenames, etc.) Of the executed command arent known until run time?
What is meant by realloc()?
1234554321 1234 4321 123 321 12 21 1 1 12 21 123 321 1234 4321 1234554321
Is a house a shell structure?
When should a type cast not be used?
What is atoi and atof in c?
What is the use of pragma in embedded c?
Describe newline escape sequence with a sample program?