Question: what is the difference between double and float in c?
Answer: Difference between float and double in C/C++ In terms of number of precision it can be stated as double has 64 bit precision for floating point number (1 bit for the sign, 11 bits for the exponent, and 52* bits for the value), i.e. double has 15 decimal digits of precision.