Tuesday, May 31, 2011

C,C++ COMMON ESCAPE SEQUENCES

Escape Sequence                        Function
 
\a                                                  Bell (beep)

\b                                                  Backspace

\f                                                   Formfeed

\n                                                  Newline

\r                                                   Return

\t                                                   Tab

\\                                                   Backlash

\'                                                   Single quotation mark

\"                                                   Double Quotation marks

\xdd                                             Hexadecimal notation

No comments:

Post a Comment