C Programming - Bitwise Operators - Discussion
Discussion Forum : Bitwise Operators - True / False Questions (Q.No. 3)
3.
Bitwise & and | are unary operators
Answer: Option
Explanation:
Bitwise & and | are not unary operators only bitwise ! is unary operator.
Discussion:
5 comments Page 1 of 1.
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.
VIVEK KUMAR YADAV said:
4 years ago
Bitwise & and | are binary operators, Unary means operating on one operand.
Manish said:
5 years ago
But & is address operator and also a unary operator.
Lak said:
9 years ago
What is meant by unary operator?
Migmar said:
5 years ago
Its a binary operator.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers