mikroC
mikroC - C Compiler for Microchip PIC microcontrollers
making it simple...
FUNDAMENTAL TYPES
Arithmetic Types
The arithmetic type specifiers are built from the following keywords: void, char, int, float, and double, together with prefixes short, long, signed, and unsigned. From these keywords you can build the integral and
Integral Types
Types char and int, together with their variants, are considered integral data types. Variants are created by using one of the prefix modifiers short, long,
signed, and unsigned.
The table below is the overview of the integral types – keywords in parentheses can be (and often are) omitted.
The modifiers signed and unsigned can be applied to both char and int. In the absence of unsigned prefix, signed is automatically assumed for integral types. The only exception is the char, which is unsigned by default. The keywords signed and unsigned, when used on their own, mean signed int and unsigned int, respectively.
The modifiers short and long can be applied only to the int. The keywords short and long used on their own mean short int and long int, respective- ly.
Types float and double, together with the long double variant, are considered
Floating point in mikroC is implemented using the Microchip AN575
page |
|
60 | MikroElektronika: Development tools - Books - Compilers |
|