ABL electronic PIC12 Personal Computer User Manual


 
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: left-to-right or right-to-left.
In the absence of parentheses, these rules resolve the grouping of expressions with
operators of equal precedence.
mikroC
- C Compiler for Microchip PIC microcontrollers
mikroC
making it simple...
10 0
MikroElektronika:
Development
tools
-
Books
-
Compilers
page
OPERATORS