Coding Reference

C
   Comments
   Flow Control
   Logical Operators
   Preprocessor Directives
   Types
C Libraries

Types

charsingle character (byte)
intinteger
floatsingle precision decimal number
doubledouble precision decimal number
decimal numbers are floating points (3.45 x 10^4)

MODIFIERS

short int - typically half the physical size of an int (16 bits vs. 32 bits)
long int - typically double the physical size of an int (64 bits vs. 32 bits)

unsigned [short/long] int - int is always positive, in effect doubling the maximum
const type - indicates variable will not change //const int x = 5;
Ad Placement
contact me | terms of use | copyright