mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
OPERATORS
Operators are tokens that trigger some computation when applied to variables and other objects in an expression.
mikroC recognizes following operators:
- Arithmetic Operators |
|
- Assignment Operators |
|
- Bitwise Operators |
|
- Logical Operators |
|
- Reference/Indirect Operators | (see Pointer Arithmetic) |
- Relational Operators |
|
- Structure Member Selectors | (see Structure Member Access) |
- Comma Operator , | (see Comma Expressions) |
- Conditional Operator ? : |
|
- Array subscript operator [] | (see Arrays) |
- Function call operator () | (see Function Calls) |
- sizeof Operator |
|
- Preprocessor Operators # and ## | (see Preprocessor Operators) |
Operators Precedence and Associativity
There are 15 precedence categories, some of which contain only one operator. Operators in the same category have equal precedence with each other.
Table on the following page sums all mikroC operators.
Where duplicates of operators appear in the table, the first occurrence is unary, the second binary. Each category has an associativity rule:
page |
|
100 | MikroElektronika: Development tools - Books - Compilers |
|