What role play bytes in int, float, double? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What role play bytes in int, float, double?

12th May 2019, 8:53 AM
#peace
#peace - avatar
2 Answers
+ 2
Different datatypes require a different number of bytes of memory. The size determines the maximum or minimum numbers the variable can hold, and in case of float and double the precision of decimals.
12th May 2019, 10:24 AM
HonFu
HonFu - avatar
+ 1
Thanks
13th May 2019, 7:00 PM
#peace
#peace - avatar