Starter Tutorials Blog
Tutorials and articles related to programming, computer science, technology and others.
Subscribe to Startertutorials.com's YouTube channel for different tutorial and lecture videos.
Home » Programming » C++ Programming » Programs » Others » CPP program to print Hello World
Suryateja Pericherla Categories: Others. No Comments on CPP program to print Hello World
Join Our Newsletter - Tips, Contests and Other Updates
Email
Name

In this article we will learn to implement a CPP program to print Hello World. A C++ program is provided below to print Hello World! to the stdout (generally console).

 

Porgram is as follows:

#include <iostream>
using namespace std;

int main() {
    cout<<"Hello, World!";
    return 0;
}

 

Output for the above program is as follows:

Hello, World!

 

How useful was this post?

Click on a star to rate it!

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?

Leave a Reply

Your email address will not be published. Required fields are marked *

Facebook
Twitter
Pinterest
Youtube
Instagram
Blogarama - Blog Directory