CPP MCQ
What happens when no argument is supplied to reset() function?
A)
All bits are set to 0 in a bitset
B)
All bits are set to 1 in a bitset
C)
First bit is set to 0
D)
All alternate bits are set to 0 in a bitset

Correct Answer : Option (A) :   All bits are set to 0 in a bitset

Explanation : When no argument is supplied to reset() function i.e. function is called with empty parameters then all the bits of the bitset is set to 0.