The double is a data type and it is also a keyword. A double
data type is similar as a float data type but double has the ability to store
more digits compare than float.
A double data type is occupies 8 bytes (64 bits) and the range of double is 1.7E -308 to 1.7E +308. Format specifier of the double data type is ‘%lf’.
A double data type is occupies 8 bytes (64 bits) and the range of double is 1.7E -308 to 1.7E +308. Format specifier of the double data type is ‘%lf’.
Syntax:
double variable_name;
Ex:
double a, b;
Here a and b are the
variable name.
No comments:
Post a Comment