Vidyalelo
C++ Programming · Q911

C++ miscellaneous

Programming · C++ Programming · question 911

Q911

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

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

Answer: Option B

Solution

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