Vidyalelo
C++ Programming · Q941

C++ miscellaneous

Programming · C++ Programming · question 941

Q941

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

A.
00001111
Answer
B.
1111
C.
11110000
D.
0000000000001111

Answer: Option A

Solution

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