Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. Comment on the following expression? c = (n) ? a : b; can be rewritten as
  2. A.
    if (!n)c = b; else c = a
    B.
    if (n <= 0)c = b; else c = a;
    C.
    if (n > 0)c = a; else c = b;
    D.
    All of the mentioned

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment