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 are the applications of c language?
Can 'this' pointer by used in the constructor?
What is the value of c?
What is the difference between union and anonymous union?
What is calloc in c?
What is output redirection?
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
How do I send escape sequences to control a terminal or other device?
What is a structural principle?
Using which language Test cases are added in .ptu file of RTRT unit testing???
Is array a primitive data type in c?
Why we write conio h in c?
Explain what is the difference between functions abs() and fabs()?
What does printf does?
struct screen_pos{ int row, col } ;move_right(cursor)struct screen_pos *cursor;{ cursor.col++; } /* This statementhas a syntax error */What is the correct statement a) cursor.col = cursor.col + 1; b) col.cursor++; c) *cursor.col++; d) pointer