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

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

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

  1. b
    Explanation: When only one argument is supplied to flip() function then bit corresponding to that index only is flipped.

Leave a Comment