An operation with only one operand is called unary operation. Unary operators: ! Logical NOT operator. ~ bitwise NOT operator. sizeof Size-of operator.
Are you mean that Logical NOT operator is not logical operator?
Akshay said:
(Tue, Jun 7, 2011 06:04:18 AM)
@Virendra: Unary operators are those who do not refer values at the left of the operation. e.g.!1 will return 0 you need not compare or evaluate two values. See Unary and Binary operator overloading to understand the concept more.