Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. The code snippet below produces

    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