Vidyalelo
C++ Programming · Q66

C++ miscellaneous

Programming · C++ Programming · question 66

Q66

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

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

Answer: Option B

Solution

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