MCQ Single Best Answer 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: #1231 Operators and Enums in C Language 1,471 views
Question Info
#1231Q 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 2 3
  • C 3 2 2
  • D 2 3 3
Correct Answer: Option D

Explanation

Option D

Share This Question

Challenge a friend or share with your study group.