Q:

What would be the result of the following expressions?

0

What would be the result of the following expressions?

All Answers

need an explanation for this answer? contact us directly to get an explanation for this answer

'b' >= 'c' – 1            1 

3 == 2 + 1              1 

(3 == 2) + 1            1 

xor(5 < 6, 8 > 4)      0 

10 > 5 > 2

 0 Evaluated from left to right: 10>5 is 1, then 1 > 2 is 0

result = 3^2 - 20; 0 <= result <= 10

1 Evaluated left to right: 0 <= result is 0, then 0 <= 10 is 1 

 

need an explanation for this answer? contact us directly to get an explanation for this answer

total answers (1)

Similar questions


need a help?


find thousands of online teachers now