Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        int main()

        {

           do

               printf("In while loop ");

           while (0);

               printf("After loop\n");

       }

  2. A.
    In while loop
    B.
    In while loop after loop
    C.
    After loop
    D.
    Infinite loop

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    none


Be The First To Comment