Escape Sequences in C Language | Escape Characters in C Language

Spread the love
Escape sequeces in C Languages
Escape Characters in C Language

ANSI C Escape Sequences :


All C characters are printed on console but some Characters such as Line Feed(new line), tab, question mark(?), backslash()  can not be printed like normal characters. so print these characters we uses Escape sequences.
  • A Escape sequence always start with the backslash().
  • For Example a line feed in C printed by using ‘n’  Escape Character. This type characters refers to single character even though they are written in two characters.
The Complete list of Escape Characters are Listed Below.

Character
Escape Sequence
ASCII Value
Back Space
b
08
Bell
a
07
Horizontal Tab
t
09
New Line
n
10
Vertical Tab
v
11
Form Feed
f
12
Carriage Return
r
13
Quotation Mark
34
Apostrophe
039
Question Mark
?
063
Backslash
092
NULL
0

Venkatesh Macha

Hi Guys, I am Venkatesh Macha. I am a programmer and an Open Source enthusiast, Presently working as a Software Engineer. Apart from that, I love to explore new technologies and things.

You may also like...

Leave a Reply