10.1 Identifiers
A C variable identifier (as well as a function identifier) is a sequence of letters and digits where the underscore character, “_”, counts as a letter. Identifiers cannot start with a digit. Although they may start with an underscore, such identifiers are reserved for the compiler’s use and should not be defined by your programs. Such is not the case for assembly domain identifiers, which often begin with an underscore, see the MPLAB® XC16 Assembler, Linker and Utilities User’s Guide (DS50002106).
Identifiers are case sensitive, so main
is different from
Main
.
All characters are significant in an identifier, although identifiers longer than 31 characters in length are less portable.