A

Admin • 833K Points
Coach

Q. Which bitwise operator is used to turn off a particular bit?

  • (A) &
  • (B) |
  • (C) ~
  • (D) ^
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category C Programming
  • Hashtags:

Explanation by: Admin

To turn off a bit, we use AND with the bit mask having 0 in that bit's position.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.