Vidyalelo
C++ Programming · Q930

C++ miscellaneous

Programming · C++ Programming · question 930

Q930

What will be the output of the following C++ code? #include #include using namespace std; int main( ) cout :: digits10 :: digits10 << endl; float f = 99999999; cout.precision ( 10 ); cout << f << endl;

A.
6
B.
15
C.
100000000
D.
6
15
100000000
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board