State One Difference Between the Floating Point Literals Float and Double.
Advertisements
प्रश्न
State one difference between the floating point literals float and double.
State one difference between the floating point literal and double type literal.
अंतर स्पष्ट करें
Advertisements
उत्तर १
| float literals | double literals |
| The float literals has a limited range to store decimal data items. | The double literals has a wider range as compared to float to store decimal data items. |
shaalaa.com
उत्तर २
Floating point literal is a fractional number with short precision and the values can range from -3.4E+38 to 3.4E+38, whereas double type literal is used for long precision and the values can range from -l.7E+308 to l.7E+308.
shaalaa.com
क्या इस प्रश्न या उत्तर में कोई त्रुटि है?
अध्याय 1.03: Values and Data Types - Review Insight [पृष्ठ ३१]
