Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        void main()

        {

            int i = 2;

            do

            {

                printf("Hi");

            } while (i < 2)

        }

  2. A.
    Compile time error
    B.
    Hi Hi
    C.
    Hi
    D.
    Varies

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    none


Be The First To Comment