Which of the following is corect way of constructing bitset using integer number?
(a) bitset<size> b;
(b) bitset<size> b(12);
(c) bitset<size> b(string(“1100”));
(d) bitset<size> b(float(12));
I had been asked this question in semester exam.
Asked question is from Bitset in division Class Hierarchies, Library & Containers of C++