Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int a = -5;
            int k = (a++, ++a);
            printf("%d\n", k);
        }
  2. A.
    -4
    B.
    -5
    C.
    4
    D.
    -3

    View Answer

    Workspace

    Answer : Option D

    Explanation :

    None.


Be The First To Comment