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 basic concept of oop?
What does oop mean in snapchat?
What is meant by multiple inheritance?
What is class and object in oops?
How does polymorphism work?
IS IT NECESSARY TO INITIALIZE VARIABLE? WHAT IF THE INSTANCE VARIABLE IS DECLARED final ? IS IT NECESSARY TO INITIALIZE THE final VARIABLE AT THE TIME OF THEIR DECLARATION?
#include
What are the advantages of polymorphism?
Is enum a class?
What is cohesion in oop?
Why do while loop is used?
What is abstract class in oops?
Templates mean
What is encapsulation example?
Write a program to reverse a string using recursive function?