The expression
has type boolean and value false. Read more about expressions here:
expressions
And so we have in line 5 the exclusieve OR, where the first operand (y != 10) is true, and the second operand (z = false) is false, and so the result is true.
Beware of a possible error here. If the expression was meant to be:
but accidently you write
then you are changing the value of z without getting any warning. Therefore it is wise to always write:
instead of
avoiding the possible error of writing