data type double is used for which purpose?
in c language
Answers
Answered by
2
Answer:
Explanation:
The C programming language provides four other basic data types: float, double, char, and _Bool. A variable declared to be of type float can be used for storing floating-point numbers (values containing decimal places). The double type is the same as type float, only with roughly twice the precision.
Answered by
1
Explanation:
Though Float and Double both of them are used for assigning real (or decimal) values in programming there is a major difference between these two data types.
...
Difference Between Float and Double Data Types.
Float ,Double
According to IEEE, float has a 32-bit floating point precision. According to IEEE, double has a 64-bit floating point precision.
Similar questions