Why is Double better than Float values?

13. Why is Double better than Float values?

  1. It can store double-precision values providing more accurate data to be stored.
  2. It stores 64 bits values instead of 32 bits from a float.
  3. Float Values are better
  4. Both A and B

Answer: D) Both A and B

Explanation:

The Double type is more precise than Float type and can store 64 bits, double of the number of bits float can store. Double is more precise and for storing large numbers, we prefer double over float.

Comments and Discussions!

Load comments ↻






Copyright © 2024 www.includehelp.com. All rights reserved.