what is the main difference between c and c++?

Answer Posted / jayasrinivas.donavalli

The main Difference between C and C++ is C is Object Based
program.that means in C also we have Object based
Applications like Structures and Unions.
C++ is Object Oriented Language that means entire
application will be depending on Objects only.
Uses of Object oriented Program is Reusability,Increase the
effiency of the program and it gives extra security like
Private data is also be there in C++.
C++ is the Advanced version of C.
In otherwords we say c++ supports both Object based and
Object oriented Applications

Is This Answer Correct ?    959 Yes 221 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is destructor example?

602


Which is not an object oriented programming language?

544


How to hide the base class functionality in Inheritance?

640


What is the difference between a constructor and a destructor?

618


what is the drawback of classical methods in oops?

2923






What is abstraction in oops?

593


What is oops and its features?

592


What is protected in oop?

606


What is destructor give example?

608


What are functions in oop?

586


Why multiple inheritance is not allowed?

586


What is polymorphism and why is it important?

562


how to get the oracle certification? send me the answer

1672


What is overriding in oops?

606


Whats is abstraction in oops?

593