0
Difference between float and double in C
3 Respostas
+ 1
float has a size of 4 bytes.
double has a size of 8 bytes.
One more difference is that the float variable has lower precision of storing decimal point values when compared to double.
+ 1
double is a short form for double-precision floating-point format. This is defined in IEEE-754 standard. float uses 32-bit of memory, double uses 64-bit of memory.
0
Thanks friends