Be very careful when working with && and &
Reason 1Extension of the postulated (and syntactically invalid)
condition &&= condition2;
to
condition = condition && condition2;
: condition2 , condition false.
2
& && , . 0b01 & 0b10 0, 0b01 && 0b10 true ( ++ 14).
if (condition = condition && condition2){
// do this
} else {
// do this
}
condition2 , condition true