Hex Editor - Binary File Editing Software for Windows
Download Hex Editor Neo Hide this button

- Unary Minus Operator

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