What is a newline escape sequence?

4 years ago
C Programming

A newline escape sequence is represented by the \n character. This is used to insert a new line when displaying data in the output screen. More spaces can be added by inserting more \n  characters. For example, \n\n would insert two spaces. A newline escape sequence can be placed before the actual output expression or after.

0
Sanisha Maharjan
Jan 20, 2022
More related questions

Questions Bank

View all Questions