Home » C Programming » Loops » Question
  1. What will be the output of the following C code?
    #include 
    int main()
    {
    do
    printf("Executed In while loop\n");
    while (0);
    printf("Executed After loop\n");
    }
    1. Executed In while loop
    2. Executed After loop
    3. Executed After loop
      Executed In while loop
    4. Executed In while loop
      Executed After loop
    5. None of these
Correct Option: D

Executed In while loop
Executed After loop



Your comments will be displayed only after manual approval.