In this exercise, we ask you to guess the results of the expressions by mentally simulating the execution of expressions.
29.1. Exercise: Results
Examine the following expressions. What is the value returned by the execution of the following expressions?
29.1.1. Exercise: unneeded parentheses
Putting more parentheses than necessary is a good way to get started. Such practice however leads to less readable expressions.
Rewrite the following expressions using the least number of parentheses.
29.1.2. Exercise: Execution sequence
Examine each of the following expression and write down the sequence of steps of their execution (which message is executed first and so on).