Important Questions

C++ Program to print "Hello World"

//Simple C++ Program to display "Hello World"
//Header Files
#include<iostream.h>
#include<conio.h>

//main function
//where the execution of program begins
void main()
{

clrscr();
cout<<"Hello World";
getch();

}

//Now run the program by ctrl+f9

Output


You can also see a video how to run this program