Vidyalelo
C++ Programming · Q368

C++ miscellaneous

Programming · C++ Programming · question 368

Q368

What will be the output of the following C++ code? #include #include using namespace std; int main() bitset b1(95); bitset b2(46); cout<<(b1^b2);

A.
00001101
B.
11111000
C.
01111111
D.
01110001
Answer

Answer: Option D

Solution

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