Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        int main()
        {
            int a = 1, b = 1, d = 1;
            printf("%d, %d, %d", ++a + ++a+a++, a++ + ++b, ++d + d++ + a++);
        }
  2. A.
    15, 4, 5
    B.
    9, 6, 9
    C.
    9, 3, 5
    D.
    6, 4, 6

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    None.


Be The First To Comment