Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    printf("Ajit ");
    goto Label1;
    printf("Abhay ");
    Label1:goto Label2;
    printf("Sumi ");
    Label2:printf("Imroj ");
    }
    1. Ajit
    2. Imroj
    3. Imroj Ajit
    4. Ajit Imroj
    5. None of these
Correct Option: D

Ajit Imroj



Your comments will be displayed only after manual approval.