C Language Escape character sheet and ASCII code table

Source: Internet
Author: User
Tags control characters

Common escape character sheet and ASCII code table full version

ASCII value

Control characters

ASCII value

Control characters

ASCII value

Control characters

ASCII value

Control characters

0

NUT

32

(space)

64

@

96

1

SOH

33

65

A

97

A

2

STX

34

66

B

98

B

3

ETX

35

#

67

C

99

C

4

EOT

36

$

68

D

100

D

5

ENQ

37

%

69

E

101

E

6

Ack

38

&

70

F

102

F

7

BEL

39

,

71

G

103

G

8

Bs

40

(

72

H

104

H

9

HT

41

)

73

I

105

I

10

LF

42

*

74

J

106

J

11

Vt

43

+

75

K

107

K

12

Ff

44

,

76

L

108

L

13

CR

45

-

77

M

109

M

14

So

46

.

78

N

110

N

15

SI

47

/

79

O

111

O

16

DLE

48

0

80

P

112

P

17

Cc.

49

1

81

Q

113

Q

18

DC2

50

2

82

R

114

R

19

DC3

51

3

83

X

115

S

20

DC4

52

4

84

T

116

T

21st

NAK

53

5

85

U

117

U

22

Syn

54

6

86

V

118

V

23

TB

55

7

87

W

119

W

24

CAN

56

8

88

X

120

X

25

Em

57

9

89

Y

121

Y

26

SUB

58

:

90

Z

122

Z

27

Esc

59

;

91

[

123

{

28

Fs

60

<

92

/

124

|

29

Gs

61

=

93

]

125

}

30

Rs

62

>

94

^

126

~

31

US

63

?

95

127

Del

Escape character

Meaning

ASCII code (16/10 binary)

\o

Null character (NULL)

00h/0

\ n

Line Break (LF)

0ah/10

\ r

Carriage return (CR)

0dh/13

\ t

Horizontal tab (HT)

09h/9

\v

Vertical tabulation (VT)

0b/11

\a

Bell (BEL)

07/7

\b

BACKSPACE (BS)

08h/8

\f

Page Break (FF)

0ch/12

\’

Single quotation marks

27h/39

\”

Double quotes

22h/34

\\

Back slash

5ch/92

\?

Question mark character

3f/63

\ddd

Any character

Three-bit octal

\xhh

Any character

Two-bit hexadecimal

C Language Escape character sheet and ASCII code table

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.