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
Can abstract class have normal methods?
Plese get me a perfect C++ program for railway/airway reservation with all details.
Why is oop better than procedural?
What is the diamond problem in inheritance?
Can we have inheritance without polymorphism?
What is abstract class in oop?
What are the 3 principles of oop?
How do you achieve runtime polymorphism?
Describe these concepts: Polymorphism, Inheritance and Abstraction.
What does and I oop and sksksk mean?
What is object in oop?
What is the purpose of polymorphism?
What is destructor in oop?
What is destructor give example?
What is static in oop?