Escape Sequence in C

LEARN C PROGRAMMING

Escape Sequence :
 
Backslash character constants are used in output function. Sometime we need to refer to a key that doesnot result in a specific character or we need to refer a specific character that normally has a different meaning in 'C'. In these case we need an escape sequence which always begin with a backslash '\'. Different types of backslash characters are :-

Audible alert (\a)
Single Code (\')
Double Code (\")
New line (\n)
Horizontal tab (\t)
Backslash(\\)
Null character(\o)


https://www.c-sharpcorner.com

Comments