Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        int main()

        {

           int i = 0;

            do {

                i++;

                printf("In while loop\n");

            } while (i < 3);

        }

  2. A.
    In while loop
     In while loop
     In while loop
    B.
    In while loop
     In while loop
    C.
    Depends on the compiler
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    none


Be The First To Comment