Display something in C++ by R4R Team

How print something in C++?
-In C language we have printf() function that are used to display string on the console.
-In C++ we have 'cout<<'

program-

#include
using namespace std;
int main()
{
//For print something C++ provide cout<<
cout<<"This is printed statement";
cout<<"This is r4r website";
}


output-

This is printed statement
This is r4r website




Leave a Comment:
Search
Categories
R4R Team
R4Rin Top Tutorials are Core Java,Hibernate ,Spring,Sturts.The content on R4R.in website is done by expert team not only with the help of books but along with the strong professional knowledge in all context like coding,designing, marketing,etc!