Computer Science, asked by bhaskarKoshy, 1 year ago

what is the difference between c and c++

Answers

Answered by Anonymous
0
 C is procedural language and C++ is Object Oriented language.Means Chas basic building blocks of functions and procedure while C++ has basic building blocks of Objects.Every thing can be called from or within an object.
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