Saturday, February 4, 2012

escape sequence in c++

C and C++ have some characters that have special meaning. These characters are called escape sequences. An escape sequence starts with a \, and then a following letter or number.
The most common escape sequence is ‘\n’, which can be used to embed a newline in a string of text:

Example:

No comments:

Post a Comment