C++20 sections · 1024 units
Open in CourseQuiz: int Type
Test your understanding
Check Your Understanding
What happens when you store 3.7 in an int variable?
- A.The value becomes 3.7
- B.The value becomes 4
- C.The value becomes 3
- D.The program crashes
Test your understanding
What happens when you store 3.7 in an int variable?