Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            m();
            void m()
            {
                printf("hi");
            }
        }

  2. A.
    hi
    B.
    Compile time error
    C.
    Nothing
    D.
    Varies

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment