Single Choice Not Set

QWhat will be the value of d in the following program?
    int main()
    {
        int a = 10, b = 5, c = 5;
        int d;
        d = b + c == a;
        printf("%d", d);
    }

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

Choose the Best Option

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

  • A Syntax error
  • B 1
  • C 5
  • D 10
Correct Answer

Explanation

Option B

Share This Question

Challenge a friend or share with your study group.