C++ Program to Print Hello World

« Previous Program Next Program »

Hello World Program in C++

To print Hello World in C++ programming, use cout<< of iostream.h library and simply place Hello World after cout<< within inverted comma as shown here in the following program.

C++ Programming Code to Print Hello World

Following C++ program prints "Hello World" on the output screen :

/* C++ Program - Print Hello World */
void main()
	cout<<"Hello World";

When the above C++ program is compile and executed, it will produce the following result:

C++ program to print hello world

Same Program in Other Language

You may like the same program in other programming languages:

« Previous Program Next Program »


Quick Links
Signup - Login - Give Online Test