Floats | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

Floats

What do floats mean in C???

1st Nov 2020, 4:25 PM
Whats My True Name???
Whats My True Name??? - avatar
1 ответ
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