मराठी

In what way float initialisation is different from double type initialisation? - Computer Applications

Advertisements
Advertisements

प्रश्न

In what way float initialisation is different from double type initialisation?

थोडक्यात उत्तर

उत्तर

  1. A float type variable is initialised with a fractional value as 0.0L whereas, a double type variable is initialised with a fractional value as 0.0D. The difference between initialisations is the suffix, i.e., L and D respectively. 
  2. For example, 
    float f = 0.0F;
    double d = 0.0D;
shaalaa.com
  या प्रश्नात किंवा उत्तरात काही त्रुटी आहे का?
पाठ 1.03: Values and Data Types - Review Insight [पृष्ठ ३०]

APPEARS IN

अविचल Computer Applications [English] Class 10 ICSE
पाठ 1.03 Values and Data Types
Review Insight | Q 5. | पृष्ठ ३०
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×