0% found this document useful (0 votes)
7 views

What Is C++? What Are The Advantages of C++?

C++ is an object-oriented programming language that is an extension of C with additional features like classes, inheritance, polymorphism, and exception handling. It allows developers to create powerful, efficient applications across a wide range of uses from games to simulations. Object-oriented programming is based on objects and classes, with key features including objects and classes, inheritance, polymorphism, overloading, and data hiding.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views

What Is C++? What Are The Advantages of C++?

C++ is an object-oriented programming language that is an extension of C with additional features like classes, inheritance, polymorphism, and exception handling. It allows developers to create powerful, efficient applications across a wide range of uses from games to simulations. Object-oriented programming is based on objects and classes, with key features including objects and classes, inheritance, polymorphism, overloading, and data hiding.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

1. What is C++? What are the advantages of C++?

Ans:

C++ is a general-purpose object-oriented programming (OOP) language, developed by Bjarne Stroustrup,


and is an extension of the C language.

Advantages:

(1) C++ is an object oriented programming and includes classes, inheritance, polymorphism, data
abstraction and encapsulation.

(2) C++ has a rich function library.

(3) C++ is a highly portable language.

(4) C++ allows exception handling, and function overloading which are not possible in C.

(5) C++ is a powerful, efficient and fast language.

(6) It supports a wide range of applications – from GUI applications to 3D graphics for games to real-time
mathematical simulations.

2. Explain OOP approach. Enlist the features of OOP

Ans: OOP Approach: The object oriented programming approach based on objects and classes.

Features: Various features of OOP are –

(1) Objects and Classes

(2) Inheritance

(3) Polymorphism

(4) Overloading

(5) Data Hiding

You might also like