codescracker


c++

C++ Program to Print Hello World



« Previous Program Next Program »


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 her ein 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 */
		
#include<iostream.h>
#include<conio.h>
void main()
{
	clrscr();
	cout<<"Hello World";
	getch();
}

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 »



Tools
Calculator

Quick Links
Signup - Login - Give Online Test