ID : 3800
Not Operator
Function
To obtain logical NOT of expressions.
Syntax
Not expression
Guaranteed Entry
- expression
- Designate integer type data.
Return Value
Return integer type data.
Description
The following table is a correspondence table of values of the expression expression and operation result (result) values.
expression | result |
---|---|
True | False |
False | True |
expression | result |
---|---|
0 | 1 |
1 | 0 |
Related Terms
Operators, & Operator, * Operator, + Operator, - Operator, / Operator, ^ Operator, = (Assignment) Operator, And Operator, Comparative Operators, Mod operator, Or Operator, Xor Operator, \ Operator, >> Operator, << Operator
Attention
-
Example
-
ID : 3800