Vidyalelo
C++ Programming · Q985

C++ miscellaneous

Programming · C++ Programming · question 985

Q985

What happens when only one argument is supplied to set() function?

A.
All bits are set to 1 in a bitset
B.
Bit corresponding to an argument is set to 1
Answer
C.
All alternate bits are set to 1 in a bitset
D.
First bit is set to 1

Answer: Option B

Solution

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