Question: #include #include #include using namespace std; int main() { // Print integer type maxima. / // Insert calls to sizeof(short), sizeof(int) and sizeof(long) below cout
#include
// Print double precision, range, maximum. / // Insert a call to sizeof(double) below cout << "double precision digits: " << DBL_DIG << endl; cout << "double maximum exponent: " << DBL_MAX_10_EXP << endl; cout << "double maximum: " << /* */ << endl << endl;
// Print long precision, range, maximum. / // Insert a call to sizeof(long double) below cout << "long double precision: " << LDBL_DIG << endl; cout << "long double maximum exponent: " << LDBL_MAX_10_EXP << endl; cout << "long double maximum: " << /* */ << endl;
// Exit program. return 0; } /*----------------------------------------------------*/
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
