Hex Editor
Hex Editor - Binary File Editing Software for Windows

- Unary Minus Operator

HHD Software - Hex Editor Serial Port Monitor USB Protocol Analyzer Network Monitor
 
 
 
< PreviousTopNext >

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
      
< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.