1.Introduction

Benefits of C++ over C Language

          The major difference being OOPS concept, C++ is an object oriented language whereas C language is a procedural language. Apart form this there are many other features of C++ which gives this language an upper hand on C laguage.

 

+ Following features of C++ makes it a stronger language than C,

  1. There is Stronger Type Checking in C++.
  2. All the OOPS features in C++ like Abstraction, Encapsulation, Inheritance etc makes it more worthy and useful for programmers.
  3. C++ supports and allows user defined operators (i.e Operator Overloading) and function overloading is also supported in it.
  4. Exception Handling is there in C++.
  5. The Concept of Virtual functions and also Constructors and Destructors for Objects.
  6. Inline Functions in C++ instead of Macros in C language. Inline functions make complete function body act like Macro, safely.
  7. Variables can be declared anywhere in the program in C++, but must be declared before they are used.
Suggest Edit