Two types of new line.
- \n
- Syntax ("cout<<Hello \n;")
- endl
- Syntax ("cout<<Hello<<endl;")
Program
Input
#include <iostream> #include<conio.h> main() { cout << "Hello World!"; cout << "From India "<< endl; cout << "Nice to meet you"; getch(); }
Program                 
Output
![]()