Datasheet

Semicolons are sometimes used to create an empty statement:
for (i = 0; i < n; i++) ;
For more information, see the Statements.
Colon
Use colon (:) to indicate the labeled statement:
start: x = 0;
...
goto start;
Labels are discussed in the Labeled Statements.
Asterisk (Pointer Declaration)
Asterisk (*) in a variable declaration denotes the creation of a pointer to a type:
char *char_ptr; /* a pointer to char is declared */
Pointers with multiple levels of indirection can be declared by indicating a pertinent
number of asterisks:
int **int_ptr; /* a pointer to an array of integers */
double ***double_ptr; /* a pointer to a matrix of doubles *
/
You can also use asterisk as an operator to either dereference a pointer or as mul-
tiplication operator:
i = *int_ptr;
a = b * 3.14;
For more information, see the Pointers.
Equal Sign
Equal sign (=) separates variable declarations from initialization lists:
int test[5] = { 1, 2, 3, 4, 5 };
int x = 5;
Equal sign is also used as an assignment operator in expressions:
140
MIKROELEKTRONIKA - SOFTWARE AND HARDWARE SOLUTIONS FOR EMBEDDED WORLD
Language Reference
mikroC PRO for AVR
CHAPTER 5