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
Why do we need function?
What is the difference between set and map in c++?
What is token c++?
What is a local variable?
What is the full form of ios?
What does int * mean in c++?
Define anonymous class.
What is a pdb file?
Do you know what is overriding?
What is a wchar_t in c++?
What are virtual functions in c++?
What is long in c++?
What is the difference between containment and delegation?
Is map ordered c++?
What is the difference between global int and static int declaration?