What Is C++? What Are The Advantages of C++?
What Is C++? What Are The Advantages of C++?
Ans:
Advantages:
(1) C++ is an object oriented programming and includes classes, inheritance, polymorphism, data
abstraction and encapsulation.
(4) C++ allows exception handling, and function overloading which are not possible in C.
(6) It supports a wide range of applications – from GUI applications to 3D graphics for games to real-time
mathematical simulations.
Ans: OOP Approach: The object oriented programming approach based on objects and classes.
(2) Inheritance
(3) Polymorphism
(4) Overloading