A

Admin • 833K Points
Coach

Q. What does the '~' operator do?

  • (A) AND
  • (B) OR
  • (C) XOR
  • (D) Bitwise NOT
  • Correct Answer - Option(D)
  • Views: 17
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

The ~ (tilde) operator flips all the bits (1 to 0 and 0 to 1).

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.