Examveda
Examveda

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;
}

A. 0

B. Infinite 0

C. Nothing

D. Error

Answer: Option B


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures