Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. &&
Correct Answer: 1, 2, 3
Explanation:
An operation with only one operand is called unary operation.
Unary operators:
! Logical NOT operator.
~ bitwise NOT operator.
sizeof Size-of operator.