Vidyalelo
C++ Programming · Q910

C++ miscellaneous

Programming · C++ Programming · question 910

Q910

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<<b1<<endl<<b2;

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

Answer: Option A

Solution

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