
Available under Creative Commons-ShareAlike 4.0 International License.
Solution to Exercise 4.6.1
Answers:
- 3
- 0
- 3.5 because one of the operands is a floating-point value, it is not integer division
Solution to Exercise 4.6.2
Answers:
- 2
- 5
- "error" because most compilers require both operands to be of the integer data type
Solutions to Practice 4: Often Used Data Types
Solution to Exercise 4.7.1
Answers:
- false
- false
- true
- true
- false
- 瀏覽次數:7979