1.

Which of three sizes of floating point types should be used when extended precision is required?(a) float(b) double(c) long double(d) extended floatThe question was posed to me in semester exam.My enquiry is from Floating Point Types topic in division Types, Pointers, Arrays & Structures in C++ of C++

Answer»

The correct ANSWER is (c) LONG double

Explanation: FLOAT for SINGLE PRECISION, double for double precision and long double for extended precision.



Discussion

No Comment Found

Related InterviewSolutions