Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()

        {
            1 < 2 ? return 1: return 2;
        }

  2. A.
    returns 1
    B.
    returns 2
    C.
    varies
    D.
    Compile time error

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment