() | [] | -> | . | |||||||
! | ~ | ++ | -- | + | - | * | & | sizeof | ||
* | / | % | ||||||||
+ | - | |||||||||
<< | >> | |||||||||
<=index.html | >=index.html | > | ||||||||
==index.html | !=index.html | |||||||||
& | ||||||||||
^ | ||||||||||
| | ||||||||||
&& | ||||||||||
|| | ||||||||||
?: | ||||||||||
=index.html | +=index.html | -=index.html | *=index.html | /=index.html | %=index.html | &=index.html | ^=index.html | |=index.html | <<=index.html | >>=index.html |
, |
Group | Operator | Description | Example |
---|---|---|---|
Membership. | |||
() | Function call. | count =index.html function(4,3); | |
[] | Array. | value =index.html array[5] + increment; | |
-> | Structure pointer. | ||
. | Structure member. | ||
Unary. | |||
! | Logical NOT | ||
~ | |||
++ | Increment. | ||
-- | Decrement. | ||
+ | |||
- | |||
* | Pointer to data | ||
& | Address of a variable. | ||
sizeof | |||
(type) | type cast. | ||
Binary. | * | Multiply. | |
/ | Divide. | ||
% | Modulo. | ||
Binary. | |||
+ | Addition | ||
- | Subtraction. | ||
Bitwise | |||
<< | Shift left. | ||
>> | Shift Right. | ||
Relational. | |||
Less than. | |||
> | Greater than. | ||
<=index.html | Less than or equal too. | ||
>=index.html | Greater than or equal too. | ||
==index.html | Equal too. | ||
!=index.html | Not equal too. | ||
More Bitwise | |||
& | bitwise AND | ||
^ | bitwise Excusive OR | ||
| | bitwise OR | ||
Logical. | |||
&& | Logical AND | ||
Logical. | |||
|| | Logical OR | ||
Conditional | |||
? : | Conditional construct. | ||
Assignment | |||
=index.html | Equals | ||
+=index.html | assignment | ||
-=index.html | assignment | ||
*=index.html | assignment | ||
/=index.html | assignment | ||
%=index.html | assignment | ||
&=index.html | assignment | ||
^=index.html | assignment | ||
|=index.html | assignment | ||
<<=index.html | assignment | ||
>>=index.html | assignment | ||
Series | |||
, | Comma |
Top | Master Index | Keywords | Functions |