1.

What is the output of this program?
 #include <iostream> 
#include <limits>
using namespace std;
int main( )
{
cout << numeric_limits<float> :: digits10 << endl;
cout << numeric_limits<double> :: digits10 << endl;
float f = 99999999;
cout.precision ( 10 );
cout << f << endl;
}

A. 100000000
B. 15
C. 6
D. All of above
E. None of these
Answer» B. 15


Discussion

No Comment Found

Related MCQs