Operator precedence
| Code | |
|
|---|---|---|
| Result | 5 |
17 |
No. 50
Evaluating a sum
|
Q: |
Consider:
Explain these two different outcomes. |
||||||
|
A: |
We consider the evaluation order for both snippets:
|
