C Programming - Bitwise Operators - Discussion

3. 

Bitwise & and | are unary operators

[A]. True
[B]. False

Answer: Option B

Explanation:

Bitwise & and | are not unary operators only bitwise ! is unary operator.

Lak said: (Aug 24, 2014)  
What is meant by unary operator?

Om Sai Ram said: (Dec 5, 2014)  
Unary means operating on one operand. Bitwise & and | needs two operands. For ex: a&b, a|b whereas Bitwise! needs one operand for ex: !a.

Post your comments here:

Name *:

Email   : (optional)

» Your comments will be displayed only after manual approval.