C
Programming and Technical
Programming
Output
The bitwise operator which is suitable for turning off a particular bit in a number?
Read Solution (Total 6)
-
- & operator
- 9 years agoHelpfull: Yes(4) No(0)
- xor operator
suppose you have 11110011 and you want to turn off the fourth bit then xor with 00010000 ie
11110011
^ 00010000 which will give 11100011
means selected bit has been turned off - 9 years agoHelpfull: Yes(2) No(0)
- ~
1's complement is used for turning off a particular bit in number.
- 9 years agoHelpfull: Yes(0) No(0)
- & (and) operator
- 9 years agoHelpfull: Yes(0) No(0)
- not operator nothing but 1's complement
- 9 years agoHelpfull: Yes(0) No(0)
- logical and
- 9 years agoHelpfull: Yes(0) No(0)
C Other Question