MCQ Single Best Answer Not Set

QWhat is the output of this C code?
    int main()
    {
        int a = 1, b = 1, d = 1;
        printf("%d, %d, %d", ++a + ++a+a++, a++ + ++b, ++d + d++ + a++);
    }

ID: #1248 Operators and Enums in C Language 2,677 views
Question Info
#1248Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A 9, 3, 5
  • B 9, 6, 9
  • C 15, 4, 5
  • D 6, 4, 6
Correct Answer: Option C

Explanation

Option C

Share This Question

Challenge a friend or share with your study group.