Page 1 of 1

Which of the following is correct about bitset and vector of bools?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) Space consumed by bitset is less than vector<bool>
b) Bitset consume only 1 bit per element
c) Number of elements in bitset should be known at compile time whereas vector can have a dynamic size
d) All of the mentioned