what is the main difference between c and c++?
Answer Posted / siva
*C is a structure oriented programming. C++ is an object oriented programming. In c++ we can use OOPS concepts like Abstraction,Encapsulation,Inheritance and Polymorphism. So we can Hide data using Encapsulation but we can't in C.
*We can reuse our coding using Inheritance concept but not in C.
* We can Create Same function name with different functionality by using polymorphism.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
What is abstraction encapsulation?
class type to basic type conversion
What is variable example?
What is encapsulation in ict?
Will I be able to get a picture in D drive to the c++ program? If so, help me out?
What is polymorphism in oop example?
What does oop mean in snapchat?
How do you define social class?
Explain the advantages of inheritance.
What is object in oops?
How is polymorphism achieved?
c++ program to swap the objects of two different classes
What is difference between inheritance and polymorphism?
What language is oop?
What is the use of oops?