Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
    #include <stdio.h>
    void main()
    {
    int k = 4;
    do
    {
    printf("Interview Mania\n");
    } while (k < 3);
    }
    1. Compilation Error
    2. Runtime Error
    3. "Interview Mania" one time
    4. Garbage value
    5. None of these
Correct Option: C

"Interview Mania" one time



Your comments will be displayed only after manual approval.