what is the main difference between c and c++?
Answer Posted / sureshkumar koppineedi
C is a procedural oriented language .
c++ is a object oriented language.
OOps concepts are 1)encapsulation:-Taking data and methods
as an unit is called encapsulation.
2)Abstraction:-Hiding unnecessary data from the user is called
abstraction
3)Inheritence:-producing new classes from the existing classes.
4)Polymorphism:-Ability to exist in more than one form.
Is This Answer Correct ? | 18 Yes | 6 No |
Post New Answer View All Answers
What is class and object with example?
Why do we need polymorphism in c#?
There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.
Why do we use polymorphism in oops?
What does I oop mean?
What are the 4 main oop principles?
What is the real time example of inheritance?
Why multiple inheritance is not allowed?
Why do we use class?
What is pure oop?
What is polymorphism in oops with example?
What do you mean by overloading?
Is abstract thinking intelligence?
Why can't we have instance(stack) of a class as a member of the same class like eg.Class A{A obj;} as we can have self refential pointer
What is polymorphism and example?