Features of C++

C++ is developed by Bjarne Stroustrup in 1980’s at AT&T Bell Lab.It is object oriented programming which means we can built the programs using objects and classes.
It is an extension of C language means it has all features of C and also have some new features of its own which are not available in C. It is more secure then C
language. It has the advantage of reuse the code.

Object Oriented Programming (OOPs) means we can combine the data members and member function in a class and then access through the object of this class. It
also has the feature of Inheritance, Encapsulation, Polymorphism and Abstraction. In inheritance we can reuse the code in another class. Encapsulation means we can
hide the data which is secure no one can access the data of a class.

Polymorphism means many forms means we can use same function in C++ which is not possible in C language. Abstraction means we can abstract the data and show only
important or essential information rest information is hidden. So these are the main features of C++.

Share with your friends:

Leave a comment

Your email address will not be published. Required fields are marked. *