+ 3
What is Double
3 Réponses
+ 37
It is used to store decimal numbers (numbers with floating point value) with double precision.
+ 1
In C/C++ double is almost the same as float, only it can work with more numbers after comma, as well as it takes 8 bytes to work with.
0
Double is a datatype similar to float which have more allocated memory,i.e.,float has 4bytes of memory allocation while double has 8bytes and it literally depends on type of operating systems.