Escape Sequences in C

Escape Sequences in C

There are 256 numbers of characters in character set, in a C programming language. This character set is divided into ASCII and Extended ASCII character sets. Also, there are some other character sets known as ESCAPE characters which are not a part of any character set.

rn

The following is the list of Escape Sequence:

rn

a Alarm or Beep
b Backspace
f Form Feed
n New Line
r Carriage Return
t Tab (Horizontal)
v Vertical Tab
\ Backslash
‘ Single Quote
” Double Quote
? Question Mark
ooo octal number
xhh hexadecimal number
Null
Escape sequences in C – There are 256 numbers of characters in character set, in a C programming language. This character set is divided as ASCII and Extended ASCII character sets. Also, there are some other character set known as ESCAPE character which are not a part of any character set.

c