Q. What does the '~' operator do?
β
Correct Answer: (D)
Bitwise NOT
Explanation: The ~ (tilde) operator flips all the bits (1 to 0 and 0 to 1).