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
how can I convert a string to a number?
How do you define CONSTANT in C?
if p is a string contained in a string?
Where is volatile variable stored?
Explain the use of keyword 'register' with respect to variables.
What is difference between && and & in c?
What are the 4 data types?
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What does %d do?
When do we get logical errors?
By using C language input a date into it and if it is right?
What is putchar() function?
How do we make a global variable accessible across files? Explain the extern keyword?
In which language linux is written?
Explain what is the heap?