0 votes
in C Plus Plus by

Describe newline escape sequence with a sample program?

1 Answer

0 votes
by

The Newline escape sequence is represented by \n. This indicates the point that the new line needs to start to the compiler and the output creates accordingly. The following sample program demonstrates the use of the newline escape sequence.

Code 

<!--[if gte vml 1]> <![endif]--><!--[if !vml]-->newline escape<!--[endif]-->

Output screen 

<!--[if gte vml 1]> <![endif]--><!--[if !vml]-->Output screen<!--[endif]-->

Related questions

0 votes
asked Mar 3, 2021 in Prolog by SakshiSharma
0 votes
asked Mar 7, 2022 in Web Services Security by rajeshsharma
...