Which is the correct syntax of constructing a bitset?
(a) bitset<size> b;
(b) bitset<size> b(12);
(c) bitset<size> b(string(“1100”));
(d) all of the mentioned
I had been asked this question in final exam.
I'd like to ask this question from Bitset in chapter Class Hierarchies, Library & Containers of C++