0

What is mean by if 0 and 1 condition

18th May 2019, 5:54 AM
cyber_gaz
cyber_gaz - avatar
11 ответов
+ 2
Lofical operator and: Takes the first false operand or the second operand and returns it as a boolean. Bitwise logical operator &: Returns the first false operand or the second operand.
18th May 2019, 7:34 AM
Seb TheS
Seb TheS - avatar
+ 1
oh now i completely get it
18th May 2019, 7:19 AM
cyber_gaz
cyber_gaz - avatar
0
0 (false) AND 1 (true) = 0 (false)
18th May 2019, 6:27 AM
Alfredo Caroli
Alfredo Caroli - avatar
0
How does it work as condition
18th May 2019, 6:33 AM
cyber_gaz
cyber_gaz - avatar
0
Would you like to give me an example
18th May 2019, 6:41 AM
cyber_gaz
cyber_gaz - avatar
18th May 2019, 7:04 AM
Alfredo Caroli
Alfredo Caroli - avatar
0
why 0&&1 is false rather than true and 0 or 1 is true condition why?????????????????????
18th May 2019, 7:08 AM
cyber_gaz
cyber_gaz - avatar
0
why 0&&1 = 0 why not it is 1
18th May 2019, 7:09 AM
cyber_gaz
cyber_gaz - avatar
0
??????????
18th May 2019, 7:09 AM
cyber_gaz
cyber_gaz - avatar