Device Monitoring Studio - Monitor, log and analyze data coming through PC ports and connections
Download Device Monitoring Studio Hide this button

! Logical NOT Operator

Logical NOT operator inverts (logically) an expression. Evaluates to 0 if the expression is non-zero or to non-zero if the expression is zero.

Syntax:

!exp

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

!7       // evaluates to 0
!0       // evaluates to 1