(4 < 8 ) || ( 8 < 0 ) || ( 100 > 45 ) -------- true
.... evaluation stops with the first
the entire expression is
|| operator also has left to right associativity.
In other words, it works like you expect.
When an expression has several
true starting from the left and going toward the right.
true stops the evaluation and causes the entire
expression to be
If every operand is
false then every operand is evaluated and
When there are possible side effects it is important to understand that evaluation goes from left to right, as explained above. If there are no side effects (as in the expression used for the question) it doesn't really matter.