When we already have C language then why C++?
How C++ eliminate the limitation felt while developing in C language?
- 4794 Views
- 6 Answers
There are various reasons why C++ was developed.C++ is said to be the extended version of C but it's a bit different in terms of syntax and other functionalties.Below are some reasons/benefits of C++
1.C++ is a highly portable language and is often the language of choice for multi-device, multi-platform app development.
2.C++ is an object-oriented programming language and includes classes, inheritance, polymorphism, data abstraction and encapsulation.
3.C++ has a rich function library.
4.C++ allows exception handling, and function overloading which are not possible in C.
5.C++ is a powerful, efficient and fast language. It finds a wide range of applications – from GUI applications to 3D graphics for games to real-time mathematical simulations.
Although C++ is extension of C but it is considered as a different programming languauge.
-
- 15 Jul
- 0 Comment