Home »
MCQs »
C++ MCQs
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?
- float
- double
- long double
- 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.