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
How do pointers work?
Difference between overloading vs. Overriding
Using a smart pointer can we iterate through a container?
When do we use copy constructors?
what are the types of Member Functions?
What is an inclusion guard?
What is the use of pointer in c++ with example?
What is the use of setprecision in c++?
What is vector processing?
What are static member functions?
Is java easier than c++?
What is guard code in c++?
Difference between delete and free.
Where can I run c++ program?
How are pointers type-cast?