Escape Sequences in C - C Reference

C examples for Reference:Language Reference

Introduction

CharacterEscape Sequence ASCII value
bell (alert) \a 007
backspace\b 008
tab \t 009
newline (line feed) \n 010
form feed\f 012
carriage return \r 013
double quote, inserts a double quote \" 034
single quote, inserts a single quote \' 039
question mark, inserts a question mark \? 063
backslash, inserts a backslash \\ 092
null \0 000

Related Tutorials