Vidyalelo
C++ Programming · Q117

C++ miscellaneous

Programming · C++ Programming · question 117

Q117

What will be the output of the following C++ code? #include #include using namespace std; int main() locale mylocale(""); cout.imbue( mylocale ); cout << (double) 3.14159 << endl; return 0;

A.
3.14
B.
3.14159
Answer
C.
Error
D.
3.69

Answer: Option B

Solution

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