C++ :- Introduction
C++ was developed by Bjarne Stroustrup starting in 1979 at Bell Labs in Murray Hill, New Jersey, as an enhancement to the C language and originally named C with Classes but later it was renamed C++ in 1983.
C++ is an object-oriented programming language. It is an extension to C programming.
Note − A programming language is said to use static typing when type checking is performed during compile-time as opposed to run-time.
Object-Oriented Programming (OOPs)
C++ supports the object-oriented programming.An object-oriented programming language provide the facility to develop a program by using concept of an object and class. the four major pillar of object oriented programming used in C++ are1.Inheritance
2.Polymorphism
3.Encapsulation
4.Abstraction
Advantage of OOPs over Procedure-oriented programming language
1.OOPs makes development and maintenance easier where as in Procedure-oriented programming language it is not easy to manage if code grows as project size grows.2.OOPs provide data hiding whereas in Procedure-oriented programming language a global data can be accessed from anywhere.
2.OOPs provide ability to simulate real-world event much more effectively. We can provide the solution of real word problem if we are using the Object-Oriented Programming language.