difference between c and c++?
Answer Posted / sumanth
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
c++ havig extra benifits data can hide in the fuction
(encapsulation),polymorphism,templets,file
handeling,inharitance.
c is structured design,c++ is object oriented design
c is top-down approach,c++ is bottom-top approach
c++ is required acces specifiers,c is not required acces
specifiers
c++ is client server model
In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
C++ is a object oriented language but C is not OOPS.
| Is This Answer Correct ? | 23 Yes | 1 No |
Post New Answer View All Answers
What does scope resolution operator do?
What are the two types of comments?
Can I learn c++ without c?
What kind of jobs can I get with c++?
what does the following statement mean? int (*a)[4]
Is vector a class in c++?
What is algorithm in c++ programming?
Explain stack & heap objects?
When should we use container classes instead of arrays?
Inline parameters : What does the compiler do with the parameters of inline function, that can be evaluated in runtime ?
What is double in c++?
What is #include math h in c++?
What is private, public and protected inheritance?
What is the difference between cin.read() and cin.getline()?
Why do we use templates?