Disadvantages of C Language

Disadvantages of C Language

There are few disadvantages of C language like:

  1. C Language does not support OOP concepts. OOP is Object Oriented Programming.
  2. C does not has concept called Namespace.
  3. C language does not has Constructor and Destructor. Constructor is used to initialise variables and allocate memory to those varibles whereas, destructor at end of program releases memory allotted to constructor variables memory pool back. It is good practice to declare constructors and destructors.
  4. C does not provide binding or wrapping up of data in a single unit.

Any way, above all disadvantages are removed in C++



No comments:

Post a Comment