Surprising difference
No. 225
Q: |
You have learned to replace expressions like e.g.
Explain the different outcome. |
||||||
A: |
The difference is being caused by the *= operator's
behaviour with respect to the order of evaluation. The first
expression b = b * a / 2 containing two left-associative operators
The second expression |