C <-> Basic | Bitwise not

C

~

Description

~ par1
Used keywords: ~

Input


Output

Examples

C

Bitwise not the possible of use:
x = ~(32 >>2);       // x = -9
y = ~x;              // y = 8
z = ~(x & 5) & y;    // z = 8

C

Even one example in what situations we can use the operation bitwise not:
~i
~0xabcd
~(i & 4)
.
Basic

not

Description

not par1
Used keywords: not

Input


Output

Examples

Basic

Even one example in what situations we can use the operation bitwise not:
not i
not&Habcd
not(i and 4)

You can find it in the following collections: bitwise operators
Languages: en hu cz sk