Single Choice Not Set

QWhat 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);
    }

ID: #1262 Operators and Enums in C Language 9,725 views
Question Info
#1262Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 3 2 3
  • B 2 3 3
  • C 3 2 2
  • D 2 3 4
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.