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
Why is polymorphism important in oop?
Why do we need oop?
How do you achieve runtime polymorphism?
#include
What is the difference between a mixin and inheritance?
What is abstraction encapsulation?
What is encapsulation in oops?
How do you explain polymorphism?
What is the advantage of oop over procedural language?
What is the highest level of cohesion?
What is a class in oop?
What is this pointer in oop?
Where You Can Use Interface in your Project
What are the two different types of polymorphism?
Who invented oop?