Q169
What will be the output of the following C++ code? #include #include #include using namespace std; int main () string mystring; bitset mybits; mybits.set(); mystring = mybits.to_string , allocator >(); cout << mystring << endl; return 0;
A.
0000
B.
0001
C.
0011
D.
1111
AnswerAnswer: Option D
Solution
Answer: Option D
No explanation is given for this question Let's Discuss on Board