Q83
What will be the output of the following C++ code? #include #include using namespace std; int main() cout << setprecision(17); double d = 0.1; cout << d << endl; return 0;
A.
0.11
B.
0.10000000000000001
AnswerC.
0.100001
D.
compile time error
Answer: Option B
Solution
Answer: Option B
No explanation is given for this question Let's Discuss on Board