Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int n = 5, L;
    Label: printf("%d", n);
    if (n == 5)
    goto Label;
    }
    1. Nothing
    2. Compilation Error
    3. 5 Infinite times
    4. 5
    5. None of these
Correct Option: C

5 Infinite times



Your comments will be displayed only after manual approval.