C++ is an
Object-Oriented Programming Language. C++ is an extension of C with a major addition of the class construct feature
Simula97. The most important facilities that C++ adds on to C are
Classes, inheritance, function, overloading, and operator overloading. The object-oriented features in C++ allow programmers to build large programs with clarity, extensibility and ease of maintenance, incorporating the spirit and efficiency of C.
#include <iostream.h> // include header file
int main()
{
cout << "Welcome To C++.\n"; // C++ statement
return 0;
} // End of example
Output:Welcome To C++.
No comments:
Post a Comment