What happens when no argument is supplied to flip() function?

a) All alternate bits are flipped in a bitset
b) All bits are flipped to 1 in a bitset
c) All bits are flipped in a bitset
d) First bit is flipped

1 thought on “What happens when no argument is supplied to flip() function?”

  1. c
    Explanation: When no argument is supplied to flip() function i.e. function is called with empty parameters then all the bits of the bitset variable is flipped.

Leave a Comment