Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
     #include <stdio.h>
    int main()
    {
    int k = 0;
    do
    {
    k++;
    if (k == 2)
    continue;
    printf("Interview");
    } while (k < 2);
    printf(" Mania");
    }
    1. Interview Mania
    2. Interview
    3. Mania
    4. Compilation Error
    5. None of these
Correct Option: A

Interview Mania



Your comments will be displayed only after manual approval.