Discussion :: Bitwise Operators - True / False Questions (Q.No.3)
Bitwise & and | are unary operators
Answer: Option B
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.|
|Manish said: (Jun 26, 2018)|
|But & is address operator and also a unary operator.|
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.