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

Can union be self referenced?

0 Answers  


What is endianness?

0 Answers  


What's c++ used for?

0 Answers  


What is the difference between the functions rand(), random(), srand() and randomize()?

0 Answers  


Write a program to swap 2 chars without using a third varable? char *s = "A"; char *p = "B";

7 Answers   CTS,


What is dev c++ used for?

0 Answers  


Is dev c++ a good compiler?

0 Answers  


Is java the same as c++?

0 Answers  


What is c++ best used for?

0 Answers  


How can a called function determine the number of arguments that have been passed to it?

0 Answers  


Is there a sort function in c++?

0 Answers  


Write about the role of c++ in the tradeoff of safety vs. Usability?

0 Answers  


Categories