Disadvantages of C Language
There are few disadvantages of C language like:
- C Language does not support OOP concepts. OOP is Object Oriented Programming.
- C does not has concept called Namespace.
- 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.
- 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