If we use value '3.14' then what will be the data type of the given value?

39. If we use value "3.14" then what will be the data type of the given value?

  1. float
  2. double
  3. long double
  4. none of the above

Answer: B) double

Explanation:

If we use any floating-point value with the suffix "F" in C++ that will be double type.

Comments and Discussions!

Load comments ↻






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