difference between c and c++?
Answer Posted / munish kumar
Main difference between c and c++ are:
1.) In c++, there is strict typechecking and in c, there is
no strict typechecking. So, many programes which can
compiled by c compiler cannot be compiled by c++ compiler.
2.) In c, there is only "EARLY BINDING", whereas in c++,
there are "EARLY BINDING & LATE BINDING".
3.)C++ IS HIGH LEVEL LANGUAGE BUT 'C' IS LOW LEVEL LANGUAGE.
4.)In c++,there is a new concept of "INLINE FUNCTIONS",
whereas in c, there are macros.
5.)C++ is a object oriented language but C is not OOPS.
| Is This Answer Correct ? | 58 Yes | 19 No |
Post New Answer View All Answers
What is the difference between multiple and multilevel inheritance in c++?
What is the difference between struct and class?
Is c++ still being used?
What are arrays c++?
What is data structure in c++?
What do you mean by volatile and mutable keywords used in c++?
What is difference between rand () and srand ()?
What do you understand by a pure virtual member function?
What is the meaning of string in c++?
What is difference between class and structure in c++?
Describe exception handling concept with an example?
What is implicit conversion/coercion in c++?
What is the use of cmath in c++?
Why was c++ created?
What is math h in c++?