Mikroc – ABL electronic PIC Microcontrollers PIC16 User Manual

Page 59

Advertising
background image

Equal Sign

The equal sign (

=

) separates variable declarations from initialization lists:

int

test[5] = {1, 2, 3, 4, 5};

int

x = 5;

The equal sign is also used as the assignment operator in expressions:

int

a, b, c;

a = b + c;

For more information, see Assignment Operators.

Pound Sign (Preprocessor Directive)

The pound sign (

#

) indicates a preprocessor directive when it occurs as the first

nonwhitespace character on a line. It signifies a compiler action, not necessarily
associated with code generation. See Preprocessor Directives for more informa-
tion.

#

and

##

are also used as operators to perform token replacement and merging

during the preprocessor scanning phase. See Preprocessor Operators.

MikroElektronika: Development tools - Books - Compilers

51

page

mikroC - C Compiler for Microchip PIC microcontrollers

mikroC

making it simple...

Advertising
This manual is related to the following products: