Single Choice Not Set

QWhat is the output of this C code?
    int main()
    {
        int a = 10;
        if (a == a--)
            printf("TRUE 1\t");
        a = 10;
        if (a == --a)
            printf("TRUE 2\t");
    }

ID: #1222 Operators and Enums in C Language 1,395 views
Question Info
#1222Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A TRUE 1
  • B TRUE 2
  • C TRUE 1 TRUE 2
  • D No output
Correct Answer

Explanation

Option C

Share This Question

Challenge a friend or share with your study group.