C++ program to print hello world

C++ program to print hello world

In this chapter of C++ program tutorial, our task is to :

  • write a c++ program to print HELLO WORLD

C++ program to print Hello World

Given below is a C++ program which prints "HELLO WORLD" on the console


using namespace std;
int main()
    cout<<"HELLO WORLD"<<endl;
    return 0;





In the above c++ program to print hello world:

  • The execution starts from the main function (here int main()).
  • The "cout" in C++ makes the output of whatever is written in the double quotes as it is. 

You can see the above code execution and output in codeblocks IDE:

C++ program to print hello world



CPP Programs

Would you like to see your article here on tutorialsinhand. Join Write4Us program by

About the Author
Sayantan Bose
- šŸ”­ Iā€™m currently working on DS Algo skills - šŸŒ± Iā€™m currently learning web develeopement - šŸ‘Æ Iā€™m looking to collaborate with Oppia - šŸ“« Reach me at - šŸ˜„ Pronouns: his/him
Page Views :    Published Date : Dec 20,2020  
Please Share this page

Related Articles

Like every other website we use cookies. By using our site you acknowledge that you have read and understand our Cookie Policy, Privacy Policy, and our Terms of Service. Learn more Got it!