Examveda

What will be the output of the following C code?
#include <stdio.h>
void main()
{
    int i = 5, k;
    if (i == 0)
        goto label;
        label: printf("%d", i);
        printf("Hey");
}

A. 5

B. Hey

C. 5 Hey

D. Nothing

Answer: Option C


This Question Belongs to C Program >> Control Structures

Join The Discussion

Related Questions on Control Structures