G
Greenhorn
Hi,
K&R says that "floating point constants contain a decimal point
(123.4) or an exponent (1e-2) or both; their type is double; unless
suffixed. The suffixes f or F indicate a float constant; l or L
indicate a long double."
the question is are these constants double by default unless suffixed
with f or F ?
Thanks in advance.
greenhorn.
K&R says that "floating point constants contain a decimal point
(123.4) or an exponent (1e-2) or both; their type is double; unless
suffixed. The suffixes f or F indicate a float constant; l or L
indicate a long double."
the question is are these constants double by default unless suffixed
with f or F ?
Thanks in advance.
greenhorn.