Please explain and purpose to use this?

when and where do we use new line character? what is the purpose of it?

@Anku47 newline character is kind of like pressing “enter” in the output.
for eg if i print cout << "hello \n world"; it is like "hello " enter “world”
so anything you print after the newline character will get printed from next line onwards.

Please mark your doubt as resolved in case of no further queries :slight_smile: