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

Sumi...
Sumi...
Sumi..



Your comments will be displayed only after manual approval.