1.

What will be the output of the following C code?
#include <stdio.h>
void main()
{
int n = 0, L;
if (n == 0)
goto Label;
for (L = 0; L < 3; L++)
{
printf("Hey");
Label: L = printf("%03d", n);
}
}

A. HeyHeyHey
B. 000 HeyHeyHey
C. HeyHeyHey 000
D. 000
E. None of these
Answer» E. None of these


Discussion

No Comment Found

Related MCQs