Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        void main()

        {

            int i = 0;

            do

            {

                printf("Hello");

            } while (i != 0);

        }

  2. A.
    Nothing
    B.
    H is printed infinite times
    C.
    Hello
    D.
    Run time error

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    none


Be The First To Comment