Backslash character constants are special characters used in output functions. Although they contain two characters they represent only one character. Given below is the table of escape sequence and their meanings.
Constant and Meaning
'\a' Audible Alert (Bell)
'\b' Backspace
'\f' Formfeed
\n' New Line
'\r' Carriage Return
'\t' Horizontal tab
'\v' Vertical Tab
'\'' Single Quote
'\"' Double Quote
'\?' Question Mark
'\\' Back Slash
'\0' Null
Wednesday, May 13, 2009
Backslash Character Constants [Escape Sequences]
Labels:
c++ training,
character set,
Constrant,
download source code,
meaning
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment