Vidyalelo
C++ Programming · Q919

C++ miscellaneous

Programming · C++ Programming · question 919

Q919

Which of the following is correct about none() function in bitset?

A.
Returns true if any bits is set 1
B.
Returns true if all bits is set 0
Answer
C.
Returns true if the number of 1's equal to the number of 0's
D.
Returns true only if all bits are 1

Answer: Option B

Solution

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