Warning: implode(): Invalid arguments passed in /www/wwwroot/jobquiz.info/mdiscuss.php on line 336 Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. && ?->(Show Answer!)
1. Which of the following are unary operators in C? 1. ! 2. sizeof 3. ~ 4. &&
Ask Your Doubts Here
Comments
By: guest on 01 Jun 2017 06.01 pm
An operation with only one operand is called unary operation.
Unary operators:
! Logical NOT operator.
~ bitwise NOT operator.
sizeof Size-of operator.
&& Logical AND is a logical operator. Therefore, 1, 2, 3 are unary operators.
Unary operators:
! Logical NOT operator.
~ bitwise NOT operator.
sizeof Size-of operator.
&& Logical AND is a logical operator. Therefore, 1, 2, 3 are unary operators.