What will be output by the following statements?double x = 1.23456789;cout << fixed;cout << setprecision(5) << x << endl;cout.precision(3);cout << x << endl;cout << x << endl;Can you show me the steps on how you got the output?



Answer :