Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?


        void main()

        {

            int i = 0;

            while (++i)

            {

                printf("H");

            }

        }

  2. A.
    H
    B.
    H is printed infinite times
    C.
    Compile time error
    D.
    Varies

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    none


Be The First To Comment