1.

What is the use of the set() function in bitset?(a) Used to make alternate bits zero(b) Used to make a bit 0 in a bitset(c) Used to make all bits zero(d) Used to set bit(s) in a bitset

Answer» Correct choice is (d) Used to set bit(s) in a bitset

The explanation: header provides the set() function to set bit(s) to 1 in a bitset variable.


Discussion

No Comment Found

Related InterviewSolutions