MCQ Single Best Answer Not Set

QWhat is the output of this C code?
    int main()
    {
        int a = 10, b = 5, c = 3;
        b != !a;
        c = !!a;
        printf("%d\t%d", b, c);
    }

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

Choose the Best Option

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

  • A 5 1
  • B 0 3
  • C 5 3
  • D 1 1
Correct Answer: Option A

Explanation

Option A

Share This Question

Challenge a friend or share with your study group.