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 exactly is polymorphism?

592


Write a C++ program without using any loop (if, for, while etc) to print prime numbers from 1 to 100 and 100 to 1 (Do not use 200 print statements!!!)

1631


Who invented oop?

642


String = "C++ is an object oriented programming language.An imp feature of oops is classes and objects".Write a pgm to count the repeated words from this scenario?

1932


What is object in oop?

669






Why is destructor used?

574


Where is pseudocode used?

555


Which type does string inherit from?

608


Whats oop mean?

582


What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }

1971


Write a program to sort the number with different sorts in one program ??

1905


What is an example of genetic polymorphism?

643


I have One image (means a group photo ) how to split the faces only from the image?............ please send the answer nagadurgaraju@gmail.com thanks in advace...

1616


hi all..i want to know oops concepts clearly can any1 explain??

1671


Why is there no multiple inheritance?

558