What is difference c and c++?



What is difference c and c++?..

Answer / priya

C does no support polymorphism, encapsulation, and inheritance which means that C does not support object oriented programming.

C++ supports polymorphism, encapsulation, and inheritance because it is an object oriented programming language.

C is a subset of C++.

C++ is a superset of C.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More C++ General Interview Questions

What is the difference between the compiler and the preprocessor?

0 Answers  


Which recursive sorting technique always makes recursive calls to sort subarrays that are about half size of the original array?

0 Answers  


What is flag in computer?

0 Answers  


Keyword mean in declaration?

0 Answers  


Is java easier than c++?

0 Answers  






What is an arraylist c++?

0 Answers  


What are references in c++?

0 Answers  


How the virtual functions maintain the call up?

0 Answers  


Difference between Operator overloading and Functional overloading?

10 Answers   HP,


Explain object slicing in c++?

0 Answers  


What is a mutex and a critical section.Whats difference between them?How do each of them work?

4 Answers   CTS,


Show the declaration for a static function pointer.

0 Answers  


Categories