Keith, still confusing.please hang on.
The expression is evaluated left to right and the value of i is changed by any ++ operator.
How would we got the opinion that this expression is evaluated left to right since prefix ++ having right associativity,i am asking.
2.doubt.
b2 != b1 && !b2
(b2 != b1) && (!b2),after evaluating !b2
b2 != b1 && true,i thought b2 value is changed to true.so
true != false && true gets evaluated.But when i print b2 value ,it is still printing false.why the b2 value true is not working for
b2 != b1 ?