Unary minus operator change the sign of the expression.

Syntax:

-exp
      

The following code fragment illustrates the use of the unary minus operator:

-7       // evaluates to integer number -7