C++ bitset any() Function
C++ bitset any() function is used to test whether at least one bit from bitset is set or not. It returns a boolean value i.e either true or false.
It does not take any parameter.
It returns a Boolean value either 0 or 1.
1100 has a minimum of one-bit set 000000 does not have any bits set
2 has a minimum of one-bit set 0 does not have any bits set