Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        int main()

        {

           while ()

                printf("In while loop ");

            printf("After loop\n");

        }

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

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    none


Be The First To Comment