Sound buzzer
Carriage return + Line feed
Horizontal tab
Backspace (one character)
Returns to line start
Change page
Character ” ¥ ”
Character “ ‘ “
Character “ “ “
Equivalent to zero
Character code for octal value nnn.
Character code for hexadecimal value
mm
Integer constants
Constants of the int type can be bradly classified as decimal, octal, and hexadecimal.
The letter “L” or “l” must be affixed for long type integers.
Decimals
Example: 1121 -128 68000 123456789L (for long)
Note: Leading zeros cannot be used, because they mean an octal notation.
Octal:
Example: 033 0777 012 01234567L (for long)
Note: Leading zero required for octal notation. No number above 7!
Hexadecimal:
Example: ox1B 0xFFFF 0x09 0xffffffL (for long)
Note: 0x (or 0X) required for hexadecimal notation.
The following show the ranges of each type of notation. Negative integers are
accomplished using unary minus operators with unsigned constants.
Decimal constants
int 0 - 32767
long 32768 - 2147483647
Octal constants
int 00 - 077777
unsigned int 0100000 - 0177777
long 0200000 - 017777777777
Hexadecimal constants
int 0x0000 - 0x7fff
unsigned int 0x8000 - 0xffff
long 0x10000 - 0x7fffffff
The ranges defined above also apply to entries for the scanf(), fscanf() and sscanf()
functions.