Home / CSE MCQs / C-MCQs :: Discussion

Discussion :: C-MCQs

  1. What is the output of this C code?

        void main()
        {
            int x = 4, y, z;
            y = --x;
            z = x--;
            printf("%d%d%d", x,  y, z);
        }
  2. A.
    3  2  3
    B.
    2  3  3
    C.
    3  2  2
    D.
    2  3  4

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    None.


Be The First To Comment