+ 1

What does the (o==(0&&1)&&1) mean?

16th Dec 2016, 2:51 AM
nick graham
3 Answers
+ 3
In short, it means, if 0 is equals to 0 And 1 as well as 1, the system will output a true.
16th Dec 2016, 5:49 AM
Wen Qin
Wen Qin - avatar
+ 2
0 represents false. 1 represents true. I'll show you how this is evaluated. (o=(0&&1)&&1) (o=(false)&&1) (o=false) The letter O isn't equal to false, or 0. The answer should be false as a result.
16th Dec 2016, 3:49 AM
Ben
Ben - avatar
0
I saw this on a challenge question and didn't get what the answer would be, the options were true false and null
16th Dec 2016, 2:55 AM
nick graham