+ 1
I m confused between true and false ..??
is 1= true. or. 0=true...??
3 odpowiedzi
+ 1
Anything above 0 will evaluate to true. So yes, 1 evaluates to true and 0 is false.
+ 1
As binary, 1 is for open(true), and 0 is for close(false)
0
1=true and 0=false . this is boolean data types.