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 I run c program in turbo c++?

0 Answers  


What are pointers used for c++?

0 Answers  


What compiler was used?

6 Answers   Intel,


How to reduce a final size of executable?

3 Answers  


Eplain extern keyword?

0 Answers  






What jobs can you get with a c++ certification?

0 Answers  


When does a 'this' pointer get created?

0 Answers  


what is static function

2 Answers   Patni,


Which of the following is not a valid declaration for main() a) int main() b) int main(int argc, char *argv[]) c) They both work

0 Answers  


Which header file allows file i/o with streams a) fileio.h b) iostream.h c) fstream.h

0 Answers  


if int1 has the value 12, int has the value 18, and int3 has the value 21, what is the result: int1 < int2 && int2 < int 3

3 Answers  


What is slicing?

1 Answers  


Categories