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 long in c++?

1 Answers  


Which bit wise operator is suitable for putting on a particular bit in a number?

1 Answers  


Differentiate between a pointer and a reference with respect to c++.

1 Answers  


What is size of a empty class?

7 Answers   Microsoft, Tata Elxsi, Wipro,


What is Object Oriented programming.what is the difference between C++ and C?

8 Answers   Infosys,


Will this c++ program execute or not?

1 Answers  


What are the various access specifiers in c++?

1 Answers  


Why c++ is not a pure oop language?

1 Answers  


What is a set in c++?

1 Answers  


What is lambda expression c++?

1 Answers  


What is called array?

1 Answers  


What is null pointer and void pointer and what is their use?

1 Answers  


Categories