Pages

Monday, January 25, 2016

First Program in C++



  1  // an example to observe using statement
  2  // program to display greeting
  3  #include <iostream.h>
  4 
  5  int main()
  6  {
  7     cout << “Hello world\n";
  8 
  9     return 0;      // indicate that program ended successfully
  10  }


Out Put 

Hello World




..
..

No comments:

Post a Comment