Datasheet
Assignment Rules
For both simple and compound assignment, the operands expression1 and
expression2 must obey one of the following rules:
1.
expression1 is of qualified or unqualified arithmetic type and
expression2 is of arithmetic type.
2. expression1 has a qualified or unqualified version of structure or union
type compatible with the type of expression2.
3. expression1 and expression2 are pointers to qualified or unqualified
versions of compatible types and the type pointed to by left has all
qualifiers of the type pointed to by right.
4. Either expression1 or expression2 is a pointer to an object or incomplete
type and the other is a pointer to a qualified or unqualified version of void. The
type pointed to by left has all qualifiers of the type pointed to by right.
5.
expression1 is a pointer and expression2 is a null pointer constant.
204
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroC PRO for AVR
CHAPTER 5