The definition of operator ,operand and unary operator is given below.
Solution:
Operator: C is very in built-in operators.An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
Operand: The data items that operators used are called operand.
Unary operator: C includes a class of operators that act upon a single operand to produce a new value.Such operators are known as Unary operator.
Unary operator are below:
+ + ( Increment).
- - (Decrement).
- (unary minus ).
How many operators are associated with a unary operator: Only one operator is associated with a unary operator.Such as....
a++ ......here is one operand.
++a .....here is one operand.
Solution:
Operator: C is very in built-in operators.An operator is a symbol that tells the compiler to perform specific mathematical or logical manipulations.
Operand: The data items that operators used are called operand.
Unary operator: C includes a class of operators that act upon a single operand to produce a new value.Such operators are known as Unary operator.
Unary operator are below:
+ + ( Increment).
- - (Decrement).
- (unary minus ).
How many operators are associated with a unary operator: Only one operator is associated with a unary operator.Such as....
a++ ......here is one operand.
++a .....here is one operand.