Page 1 of 1

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

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
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
d) Returns true only if all bits are 1