Vidyalelo
C++ Programming · Q679

C++ miscellaneous

Programming · C++ Programming · question 679

Q679

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
Answer

Answer: Option D

Solution

Answer: Option D
No explanation is given for this question Let's Discuss on Board