what is the main difference between c and c++?
Answer Posted / mayuri
C C++
DATA IS NOT SECURED SECURED
TOP DOWN BOTTOM-UP
FOCUS ON PROCEDURES FOCUS ON DATA
PROGRAMS ARE DECOMPOSED INTO OBJECTS
INTO FUNCTIONS
allocation is done NEW OPERATOR
with malloc statement
UNOINS AND ENUMS AVALIABLE
ARE NOT AVALIABLE
DOES NOT PROVIDE PROVIDES
DEFAULT ARGUMENTS
Is This Answer Correct ? | 919 Yes | 147 No |
Post New Answer View All Answers
What is pure oop?
What is byval and byref? What are differences between them?
Is oop better than procedural?
Why do we use inheritance?
Which type does string inherit from?
What are the 4 main oop principles?
What is destructor give example?
What is encapsulation and abstraction? How are they implemented in C++?
Where You Can Use Interface in your Project
What is the highest level of cohesion?
What is abstraction in oops?
What is the types of inheritance?
What is the oops and benefits of oops programming?
Why is polymorphism important in oop?
Why do we use polymorphism?