C Programming - Bitwise Operators - Discussion
Discussion Forum : Bitwise Operators - True / False Questions (Q.No. 3)
Bitwise & and | are unary operators
Discussion:5 comments Page 1 of 1.
Lak said: 9 years ago
What is meant by unary operator?
Om Sai ram said: 9 years ago
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: 5 years ago
But & is address operator and also a unary operator.
Migmar said: 5 years ago
Its a binary operator.
VIVEK KUMAR YADAV said: 4 years ago
Bitwise & and | are binary operators, Unary means operating on one operand.
Post your comments here: