C Programming - Bitwise Operators - Discussion

Discussion Forum : Bitwise Operators - True / False Questions (Q.No. 3)
3.
Bitwise & and | are unary operators
True
False
Answer: Option
Explanation:
Bitwise & and | are not unary operators only bitwise ! is unary operator.
Discussion:
5 comments Page 1 of 1.

VIVEK KUMAR YADAV said:   5 years ago
Bitwise & and | are binary operators, Unary means operating on one operand.

Migmar said:   6 years ago
Its a binary operator.

Manish said:   6 years ago
But & is address operator and also a unary operator.

Om Sai ram said:   10 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.

Lak said:   10 years ago
What is meant by unary operator?

Post your comments here:

Your comments will be displayed after verification.