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.
Lak said:
1 decade ago
What is meant by 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.
Manish said:
6 years ago
But & is address operator and also a unary operator.
Migmar said:
6 years ago
Its a binary operator.
VIVEK KUMAR YADAV said:
5 years ago
Bitwise & and | are binary operators, Unary means operating on one operand.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers