Advertisements
Advertisements
Question
The data type int stores fractional values.
Options
True
False
MCQ
True or False
Solution
This statement is False.
Explanation:
The int data type stores only whole numbers (integers). It does not store fractions or decimals. If you need to store fractional values, you can utilise data types such as float or double.
shaalaa.com
Is there an error in this question or solution?