
Available under Creative Commons-ShareAlike 4.0 International License.
Exercise 14.1.1
Evaluate the following items using increment or decrement:
- True or false: x = x +1 and x+=1 and x++ all accomplish increment?
- Given: int y = 19; and int z; what values will y and z have after: z = y ;
- Given: double x = 7.77; and int y; what values will x and y have after: y = ++x;
- Is this ok? Why or why not? 6 * ++(age -3)
- 瀏覽次數:1940