What is the default data type of floating point literal ?(a) int (b) long (c) float (d) double
Answers
Answered by
2
Answer is float.
HOPE MY ANSWER HELPS :)
HOPE MY ANSWER HELPS :)
Answered by
3
"Option: (d) double.
The pre-defined data type of floating point is double. It has a fractional part, a decimal part, an integer part or an exponent part. The floating point representation can be done either in exponential form or in decimal form by the user.
In object oriented programming decimal values with the “fractional part” is defined as the floating point. And default data type of floating point is double."
Similar questions