
Available under Creative Commons-ShareAlike 4.0 International License.
Exercise 14.3.1
Evaluate the following items using increment or decrement:
- True or false: x = x-l; and x -= l; and x-; and -x; all accomplish decrement.
- Given: int y = 26; and int z; what values will y and z have after: z = y++;
- Given: double x = 4.44; and int y; what values will x and y have after: y = -x;
- As an expression: l0 / ++(money * 4) Is this ok? Why or why not?
- 瀏覽次數:1552