Loading practice questions
What is the use of the flip function in bitset?
Correct Answer: C — Used to flip bit(s) in a bitset
Explanation:
header provides the flip() function to flip bit(s) in a bitset variable i.e. change the bits in a bitset for example 1100 on flipping becomes 0011.