Home » C# Programming » Operators

Suppose n is a variable of the type Byte and we wish to put OFF its fourth bit (from right) without disturbing any other bits. Which of the following statements will do this correctly?

Correct Answer: n = n & 0xF7

← Previous Question Next Question→

More Questions from Operators

Discussion & Comments

No comments yet. Be the first to comment!
Join Discussion