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


Please Help Members By Posting Answers For Below Questions

How do pointers work?

703


Difference between overloading vs. Overriding

588


Using a smart pointer can we iterate through a container?

559


When do we use copy constructors?

593


what are the types of Member Functions?

608






What is an inclusion guard?

615


What is the use of pointer in c++ with example?

559


What is the use of setprecision in c++?

540


What is vector processing?

666


What are static member functions?

616


Is java easier than c++?

588


What is guard code in c++?

636


Difference between delete and free.

612


Where can I run c++ program?

600


How are pointers type-cast?

642