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

Answer Posted / sushma sharma,hapur

These are the main difference of c and c++
*c follows the procedural programming paradigm while c++ is
a multi paradigm language.
*In case of C,the data is not secured while the data is
secured(hidden) in c++.
*C is a low level language while C++is a middle level language.
*C use the top down approach while C++ use the bottom up
approach.
*C is function-driven while is object driven.
*C++ supports functions overloading while C does not.
*we can use function inside structure in C++ but not in C.

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 abstract class in oops?

604


Explain the advantages of inheritance.

677


If a=5, b=6, c=7, b+=a%c*2. What is the final value of b?

944


What is the difference between static polymorphism and dynamic polymorphism?

587


design a c++ class for the chess board,provide a c++ class definition for such class(only class definition is required)

6155






How does polymorphism work?

639


What are different types of JVM's? for example we use dalvik jvm for android then what about the remaining operating systems?

1656


c++ program to swap the objects of two different classes

1767


What is class and example?

571


what is the drawback of classical methods in oops?

2924


What is stream in oop?

843


What is the benefit of oop?

573


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...

1632


Why do we use polymorphism in oops?

587


What are constructors in oop?

598