Datasheet

Expressions
Expression is a sequence of operators, operands, and punctuators that specifies a
computation. Formally, expressions are defined recursively: subexpressions can be
nested without formal limit. However, the compiler will report an out-of-memory error
if it can’t compile an expression that is too complex.
In ANSI C, the primary expressions are: constant (also referred to as literal), identi-
fier, and (
expression), defined recursively.
Expressions are evaluated according to a certain conversion, grouping, associativi-
ty and precedence rules, which depends on the operators used, presence of paren-
theses and data types of the operands. The precedence and associativity of the
operators are summarized in Operator Precedence and Associativity. The way
operands and subexpressions are grouped does not necessarily specify the actual
order in which they are evaluated by the mikroC PRO for AVR.
Expressions can produce lvalue, rvalue, or no value. Expressions might cause side
effects whether they produce a value or not.
206
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroC PRO for AVR
CHAPTER 5