Vidyalelo
C++ Programming · Q424

C++ miscellaneous

Programming · C++ Programming · question 424

Q424

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

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

Answer: Option C

Solution

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