___________ data type is used to store numeric data with decimal and high precision .
1. float
2. long
3. double
pls help me out...
Answers
Question:
__________ data type is used to store numeric data with decimal and high precision .
- float
- long
- double
Answer:
Double data type is used to store numeric data with decimal and high precision .
- Why not option 1 ?
Although Double and float datatype are both used to store numeric data with decimal but float don't have high percentage as compared to Double. A variable which is stored in Double data type can store upto 15 to 16 decimal digits where as a variable which is stored in float datatype can store only upto 6 to 7 decimal digits.
- Why not option 2 ?
If we talk about C programing then there is no data type named long. Yep there is variable name sound similar long double which is even more precise than double, but as it's only long , thus the option is incorrect
------------------------------------------
know more:
What are datatype?
- Datatype is an atribute which tells what type of value should be stored in a variable
Happy learning! :)
Answer:
___________ data type is used to store numeric data with decimal and high precision .
1. float
2. long
3. double✔️