difference between c and c++?

Answer Posted / jayashri jali

->C is procedure oriented language and gives importance to
procedure that is functions rather than data.c is middle
level language.
->c++ is object oriented language and gives importance to
object that is data
c++ is high level language.
-> in c++ data will be secured means its a secured
programming language where as c is insecure.
using the properties in c++ like inheritance,function
overloading etc we can minimize the data redundancy.
c does not have such properties.
->c is top down approach, c is bottom up approach.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

what is data abstraction in C++?

650


What do you mean by inheritance in c++?

606


What are the benefits of pointers?

594


What are multiple inheritances (virtual inheritance)?

585


What are the two types of polymorphism?

591






In what situations do you have to use initialization list rather than assignment in constructors?

634


Can a program run without main function?

619


Why is it called c++?

587


What is ifstream c++?

563


Do class method definitions?

589


What are different types of loops in c++?

656


What are the uses of typedef in a program?

616


Why do we use setw in c++?

646


How do you declare a set in c++?

536


What is the best free c++ compiler for windows?

590