1.

What is the range of the floating point numbers?(a) -3.4E+38 to +3.4E+38(b) -3.4E+38 to +3.4E+34(c) -3.4E+38 to +3.4E+36(d) -3.4E+38 to +3.4E+32This question was addressed to me in examination.The query is from Floating Point Types topic in portion Types, Pointers, Arrays & Structures in C++ of C++

Answer»

The correct choice is (a) -3.4E+38 to +3.4E+38

Best EXPLANATION: This is the defined RANGE of floating type number sin C++. Also range for +ve and -ve SIDE should be same so the answer is -3.4E+38 to +3.4E+38.



Discussion

No Comment Found

Related InterviewSolutions