C Programming - Bitwise Operators - Discussion

Discussion Forum : Bitwise Operators - General Questions (Q.No. 2)
2.
Which bitwise operator is suitable for turning off a particular bit in a number?
&& operator
& operator
|| operator
! operator
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
41 comments Page 5 of 5.

Ravi(BIT Mesra CSE_2k7) said:   1 decade ago
Any bit AND(&) with 0 will give a zero .i.e. will turn that particular bit OFF.
(1)


Post your comments here:

Your comments will be displayed after verification.