Appendix A
ASCII Codes
Decimal |
Hex |
Character |
Comment |
---|---|---|---|
0 |
0x00 |
^@ |
Null, \0 |
1 |
0x01 |
^A |
|
2 |
0x02 |
^B |
|
3 |
0x03 |
^C |
|
4 |
0x04 |
^D |
|
5 |
0x05 |
^E |
|
6 |
0x06 |
^F |
|
7 |
0x07 |
^G |
Bell, \a |
8 |
0x08 |
^H |
Backspace, \b |
9 |
0x09 |
^I |
Tab, \t |
10 |
0x0A |
^J |
|
11 |
0x0B |
^K |
Vertical tab, \v |
12 |
0x0C |
^L |
Form feed, \f |
13 |
0x0D |
^M |
Carriage return, \r |
14 |
0x0E |
^N |
|
15 |
0x0F |
^O |
|
16 |
0x10 |
^P |
|
17 |
0x11 |
^Q |
|
18 |
0x12 |
^R |
|
19 |
0x13 |
^S |
|
20 |
0x14 |
^T |
|
21 |
0x15 |
^U |
|
22 |
0x16 |
^V |
|
23 |
0x17 |
^W |
|
24 |
0x18 |
^X |
|
25 |
0x19 |
^Y |
|
26 |
0x1A |
^Z |
|
27 |
0x1B |
^[ |
Escape |
28 |
0x1C |
^\ |
|
29 |
0x1D |
^] |
|
30 |
0x1E |
^^ |
|
31 |
0x1F |
^_ |
|
32 |
0x20 |
Space, start of visible characters |
|
33 |
0x21 |
! |
Exclamation point |
34 |
0x22 |
“ |
Double quote |
35 |
0x23 |
# |
Pound, hash |
36 |
0x24 |
$ |
Dollar sign |
37 |
0x25 |
% |
Percent sign |
38 |
0x26 |
& |
Ampersand |
39 |
0x27 |
’ |
Apostrophe |
40 |
0x28 |
( |
Left parenthesis |
41 |
0x29 |
) |
Right parenthesis |
42 |
0x2A |
* |
Asterisk |
43 |
0x2B |
+ |
Plus |
44 |
0x2C |
, |
Comma |
45 |
0x2D |
- |
Hyphen, minus |
46 |
0x2E |
. |
Period |
47 |
0x2F |
/ |
Slash |
48 |
0x30 |
0 |
Numbers |
49 |
0x31 |
1 |
|
50 |
0x32 |
2 |
|
51 |
0x33 |
3 |
|
52 |
0x34 |
4 |
|
53 |
0x35 |
5 |
|
54 |
0x36 |
6 |
|
55 |
0x37 |
7 |
|
56 |
0x38 |
8 |
|
57 |
0x39 |
9 |
|
58 |
0x3A |
: |
Colon |
59 |
0x3B |
; |
Semicolon |
60 |
0x3C |
< |
Less than, left angle bracket |
61 |
0x3D |
= |
Equals |
62 |
0x3E |
> |
Greater ... |
Get C Programming For Dummies, 2nd Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.