Share this link via
Or copy link
C++ provide Object Oriented approach to develop program and codes.It provide a pattern of reusable code in the form of classes and objects.Many other features like constructor,polymorphism,inheritance give strong foundation to C++ Programming.It's also known as hybrid language as it support procedural and Object Oriented approach.
In C++ object oriented programming data and functions are encapsulated together in form of an object. A Class provides a blueprint of structure of the object.As C++ support Data Encapsulation by hiding data from object and give mechanism of Exception Handling by Try-Catch block developer easily attract to this language.Unlike C Language C++ provide cin and cout command for basic input/output operations and new keyword to allocate a fresh object.