Thursday, 16 September 2010

09. ESCAPE SEQUENCES

Certain non printing characters, as well as the backslash (\) and the apostrophe ('), can be expressed in terms of escape sequences. An escape sequence always begins with a backward slash and is followed by one or more special characters. For example, a line feed  (LF), which is referred to as a newline in C, can be represented as \n. Such as escape sequences always represent single characters, even though they are written in terms of two or more characters.
  The commonly used escape sequences are listed below.

No comments:

Post a Comment