Hello world program is a very first program which is learned and written by a developer. I must say that this program is the start point of a future developer. I still remember the joy and feel that I had when I did this program during my college days in the lab.


void main()
  //Printing a message onto the conole
  cout<<"Hello world!";


Hello world!

Explaination: Each and every CPP program exeuction starts with main method. So, the very first statement (of course we only had one statement in our program) will be executed when we run the program. The construct cout will push the arguments data onto the standard console. Here, we've pushed "Hello world!" message onto the monitor device.