First Program

 First program ----Hello world----

 

Look at this C++ program to print Hello world.


First program ----Hello world----



Here I have used #include<iostream> as header file declaration which is used for basic input and output services for C++ programs. iostream uses the objects cin , cout , cerr , and clog for sending data to and from the standard streams input, output, error (unbuffered), and log (buffered).

Here cout is used to print the output. And one more information cin is used to scan the input from user.

Post a Comment (0)
Previous Post Next Post