Single Choice
Moderate
QWhich stores decimal numbers?
ID: #25820
MCQ Quiz - Class 8 - Programming
4 views
Question Info
#25820Q ID
ModerateDifficulty
MCQ Quiz - Class 8 - ProgrammingTopic
Your Answer
Choose the Best Option
Click any option to instantly check if you're correct.
Correct Answer
Explanation
Correct Answer Explanation:
float and double store decimal (fractional) numbers like 3.14 or 2.5. double has higher precision than float.
Why the other options are incorrect:
- Option B: int stores only whole numbers.
- Option C: boolean stores only true or false.
- Option D: char stores a single character.
Continue Practice
Share
Share This Question
Challenge a friend or share with your study group.
More from This Topic