*Unary operators – A unary operator is an operator that operates on one operand and
manipulates the operand to return
some result.
Ex- c++;
here ' ++
' is a increament operator ,operating on one operators c. and finally manipulate
c i.e increase by one and the result will be stored in c.
*List of common Unary operator -
Symbol |
Name |
++ |
increament operator |
-- |
decreament operator |
& |
address of |