+ 1
Types of values (C++)
I am wondering what is the difference between values like double, long, float, and so on. I am wondering as well what are other values types I should be aware of. Thank you for any advise given.
2 Respuestas
+ 2
float cannot store larger values like 56.79272881819
so double & long increases the size of variable according to your need so that it can store larger values.
- 1
No difference.
Someone likes to write like this, to someone else.
It is desirable to write within the same program in the same way that the reader is not asked the same question;)