Skip to main content

Posts

Showing posts with the label Escape Sequence in C programming

Escape Sequence in C programming

      Certain nonprinting character, as well as the backslash (\) and apostrophe (`), can be expressed in terms of escape sequences. An escape sequence always begins with a backslash and is followed by one or more special characters. For example, a linefeed (LF), this is referred to as a newline in C, can be represented as ln. Such 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: Character                   Escape Sequence                   ASCII Value bell (alest)                               \a       ...