Hex Editor
Hex Editor - Binary File Editing Software for Windows

~ Bitwise NOT Operator

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

Bitwise NOT operator inverts all bits of the expression.

Syntax:

~exp
      

The following code fragment illustrates the use of the bitwise NOT operator:

~7       // evaluates to -8
      

This operator is not applicable to floating-point values.

< PreviousTopNext >
Copyright © 2012 HHD Software. All rights reserved.