Computer Science, asked by nandysoniko, 1 year ago

Most Important Differences Between C And C++
What are the most important differences between C And C++?

Answers

Answered by lucks1
0
C++ is derived from C Language. It is a Superset of C.
Earlier C++ was known as C with classes.
In C++, the major change was the addition of classes and a mechanism for inheriting class objects into other classes.
Most C Programs can be compiled in C++ compiler.
C++ expressions are the same as C expressions.
All C operators are valid in C++.
Answered by InnocentJatti
0

Answer:

C is a procedural language and C++ is a mix of procedural programming and object oriented programming language.

In c++, one defines classes, creates objects, uses the methods (functions) defined within a class. It is safer programming language than C language. Debugging programming could be simpler in C++.  Since the language is object oriented, it is easier to add or enhance features by including more objects/classes in an existing program. The code size could be very high in C++.

C++ contains every thing that C program can do.

Similar questions