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

  • (A) &
  • (B) |
  • (C) ~
  • (D) ^
πŸ’¬ Discuss
βœ… Correct Answer: (A) &
Explanation: To turn off a bit, we use AND with the bit mask having 0 in that bit's position.
Explanation by: Mr. Dubey
To turn off a bit, we use AND with the bit mask having 0 in that bit's position.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
76
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
95%
Success Rate