C Programming :: Functions - Discussion
Home > C Programming > Functions > MCQs Questions Discussion
9 / 53
What will be output of the following "c" code?
#include<stdio.h>
int main()
{
int i=1;
while (i<=5)
{
printf("%d",i);
if (i>2)
goto here;
i++;
}
}
fun()
{
here:
printf("PP");
}
#include<stdio.h>
int main()
{
int i=1;
while (i<=5)
{
printf("%d",i);
if (i>2)
goto here;
i++;
}
}
fun()
{
here:
printf("PP");
}
ACompiler error: label 'here' used but not defined
BPP
C1 2 PP
DNone of these
Answer: Option (Login/Signup)
Show Explanation
Asked In ::
No Discussion on this question yet!