1.

What is the use of reset 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 1(d) Used to make a bit(s) 0 in a bitset

Answer» The correct choice is (d) Used to make a bit(s) 0 in a bitset

Easiest explanation - header provides the reset() function to set bit(s) to 0 in a bitset variable.


Discussion

No Comment Found

Related InterviewSolutions