Which of the following is corect way of constructing bitset using binary string?
Posted: Wed Jul 13, 2022 7:53 pm
a) bitset<size> b;
b) bitset<size> b(12);
c) bitset<size> b(string(“1100”));
d) bitset<size> b(float(12));
b) bitset<size> b(12);
c) bitset<size> b(string(“1100”));
d) bitset<size> b(float(12));