Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    int main()
    {
    int k = 0, L = 0;
    Level1: while (k < 4)
    {
    k++;
    while (L < 15)
    {
    printf("Hello...\n");
    goto Level1;
    }
    }
    }
    1. Hello...
      Hello...
    2. Compilation Error
    3. Hello...
      Hello...
      Hello...
      Hello...
    4. Hello...
      Hello...
    5. None of these
Correct Option: C

Hello...
Hello...
Hello...
Hello...



Your comments will be displayed only after manual approval.