MCQ Single Best Answer Not Set

QWhat is the final value of j in the below code?
    int main()
    {
        int i = 0, j = 0;
        if (i && (j = i + 10))
            //do something
            ;
    }

ID: #1246 Operators and Enums in C Language 3,248 views
Question Info
#1246Q ID
Not SetDifficulty
Operators and Enums in C LanguageTopic

Choose the Best Option

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

  • A Depends on the compiler
  • B Depends on language standard
  • C 1
Correct Answer: Option D

Explanation

Option D

Share This Question

Challenge a friend or share with your study group.