What is the use of count() function in bitset?
(a) To count the number of 0’s
(b) To count the number of 1’s
(c) To count the number of total bits in a bitset
(d) To count the number of low bits
This question was posed to me in an online interview.
I'd like to ask this question from Bitset topic in section Class Hierarchies, Library & Containers of C++