Single Choice Not Set

QWhat is the output of this C code?
    void main()
    {
        int a = -5;
        int k = (a++, ++a);
        printf("%d\n", k);
    }

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

Choose the Best Option

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

  • A -4
  • B -5
  • C 4
  • D -3
Correct Answer

Explanation

Option D

Share This Question

Challenge a friend or share with your study group.