Page 1 of 1

Which of the following is corect way of constructing bitset using integer number?

Posted: Wed Jul 13, 2022 7:53 pm
by answerhappygod
a) bitset<size> b;
b) bitset<size> b(12);
c) bitset<size> b(string(“1100”));
d) bitset<size> b(float(12));