What is difference c and c++?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are default parameters? How are they evaluated in c++ function?

887


What is object in c++ wikipedia?

754


What is the difference between an external iterator and an internal iterator?

849


What is the average salary of a c++ programmer?

768


What is a dangling pointer in c++?

849


Explain the concept of friend function in c++?

820


Why pointer is used in c++?

805


What is nested class in c++?

689


Will a catch statement catch a derived exception if it is looking for the base class?

742


Is it possible for a member function to delete the pointer, named this?

821


How are pointers type-cast?

859


In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that

834


Why is main an int?

732


What are the two main components of c++?

820


What is math h in c++?

823