Pages

Wednesday, 21 February 2018

Write a first program ‘Hello World’ Program in C++

Write a first program ‘Hello World’ Program in C++
/*
* Multiple line
* comment
*/
#include<iostream>

//Single line comment
using namespace std;

//This is where the execution of program begins
int main()
{
   // displays Hello World! on screen
   cout<<"Hello World!";

   return 0;

}