What will be the output of the following C code?
#include <stdio.h>
void main()
{
int i = 0, k;
label: printf("%d", i);
if (i == 0)
goto label;
}
#include <stdio.h>
void main()
{
int i = 0, k;
label: printf("%d", i);
if (i == 0)
goto label;
}A. 0
B. Infinite 0
C. Nothing
D. Error
Answer: Option B

Join The Discussion