Sololearn: Learn to Code
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2
float and double can hold floating point number which is something like this 5.555... float and double are the same but double can hold bigger value than float. long double can hold bigger value than double but it's up to the compiler. long is just basic integer but can hold 2 times more bytes than int variable. long = 4 bytes = 32bits float = 4 bytes = 7 digits long double = 8 bytes = 15 digits
16th Jan 2018, 8:24 PM
Toni Isotalo
Toni Isotalo - avatar