Search This Blog

Loading...

endl in c++

/*use of endl in c++ program */

#include<iostream.h>
#include<conio.h>

void main()
{
    cout<<"This is C++ Program."<<endl;
    /*This will print the "This is c++ Program." and move cursor in next line.*/

    cout<<"Second Line.";

}

No comments:

Post a Comment