Floats | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Floats

What do floats mean in C???

1st Nov 2020, 4:25 PM
Whats My True Name???
Whats My True Name??? - avatar
1 Answer
0
floats are a type in C that can hold a number with a decimal point up to 6 digits of precision. A float is 4 bytes in size. A double is the same as a float except it is 8 bytes in memory, meaning it is more accurate with it's precision.
25th Oct 2022, 3:04 AM
Sickfic
Sickfic - avatar