MCQ Single Best Answer Not Set

QWhat is the output of this C code?
    int main()
    {
        int i = 0;
        int x = i++, y = ++i;
        printf("%d % d\n", x, y);
        return 0;
    }

ID: #1259 Operators and Enums in C Language 743 views
Question Info
#1259Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 0, 2
  • B 0, 1
  • C 1, 2
  • D Undefined
Correct Answer: Option A

Explanation

Option A

Share This Question

Challenge a friend or share with your study group.