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 the renewal class?
What is abstraction in oops?
What is the highest level of cohesion?
Why polymorphism is used in oops?
Can a varargs method be overloaded?
What are constructors in oop?
What is polymorphism and types?
How do you use inheritance in unity?
What is static in oop?
What is the diamond problem in inheritance?
What is inheritance write a program to show use of inheritance?
What is persistence in oop?
Write a program to reverse a string using recursive function?
Can private class be inherited?
What is static modifier?