What is printed by the C statement printf(“%d”, 10 > 5 && 3 > 4);?
Correct answer B. 0
Explanation
10 > 5 is true (1) but 3 > 4 is false (0). The logical AND of true and false is false, so the expression evaluates to 0.
Answer checked How we write and check questions
Discussion