Saturday, 29 June 2013

escape sequence characters

  • escape sequences are used in formatting input and output
  • an escape sequences always begins with a backward slash and is followed character
  • c supports some special escape sequence characters that are used to do special task
  • these are also called as backslash characters
  • some of the escape sequence characters are as follows:


character constantmeaning
\nnew line
\bbackspace
\thorizontal tab
\fform feed
\aalert
\rcarriage return
\vverticaltab
\?question mark
\'single quote
\"double quote
\\backslash
\0Null

No comments:

Post a Comment