Simple program of C++ with object oriented programming

By:   Last Updated: in:

Simple program of C++ | program features

Just like that C , the C++ program is collection of functions. Below given example contain only one function main().
In this program as usual, execution begin it main().
Almost programmers have main(). C++ is a free from language with a few expressions the compiler ignores carriage return white space.
Let's begin with let us begin with a simple program of C++ .that print a stream on the screen.

int main()
       Cout << "C++ better than C. \n"; // C++ statement
return 0;
          // end of example
If this program error then you remove this line :-  using namespace std;

Sign up email newsletter to receive email updates in your email inbox!

Next Post
No comments:
Write comment

सवाल पूछने के बाद "Notify me" आप्शन को ✔(Right Mark) करे, ताकि आपके पूछे गये सवाल का जवाब मिलने पर आपको सुचना मिल जाये:-