T
Trent Buck
Could someone please confirm the following
A boolean expression, evaluates to true or false. In an integer
context, this becomes non-zero or zero, respectively.
Therefore the expression
x == y ? 0 : 1
CANNOT be abbreviated to
x == y
Thanks,
-trent
A boolean expression, evaluates to true or false. In an integer
context, this becomes non-zero or zero, respectively.
Therefore the expression
x == y ? 0 : 1
CANNOT be abbreviated to
x == y
Thanks,
-trent