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

Explain function overloading

666


What is the c++ programming language used for?

667


Are vectors faster than arrays?

654


What is rvalue?

781


What does n mean in c++?

728






Which programming language's unsatisfactory performance led to the discovery of c++?

916


Does a derived class inherit or doesn't inherit?

717


Where can I run c++ program?

700


What is the use of bit fields in structure declaration?

628


What are c++ manipulators?

702


Why iomanip is used in c++?

738


Which coding certification is best?

646


Is there structure in c++?

679


Why do you use the namespace feature?

747


What is a volatile variable in c++?

655