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

What is the latest version on c++?

677


What is the use of "new" operator?

654


Why should we use null or zero in a program?

594


What is an incomplete type in c++?

761


What is function overriding in c++?

597






What is this pointer in c++?

726


What are the differences between java and c++?

526


Can comments be longer than one line?

613


Is c++ a high level language?

546


What are the extraction and insertion operators in c++? Explain with examples.

633


Why we use #include iostream in c++?

570


How do you find out if a linked-list has an end?

641


What is the history of c++?

550


What is the extension of c++?

508


What are formatting flags in ios class?

602