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
Why is encapsulation used?
What is the oops and benefits of oops programming?
What is oops in simple words?
What is destructor oops?
Why is polymorphism important in oop?
What language is oop?
How do you achieve runtime polymorphism?
What do you mean by abstraction?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is pointer in oop?
What is abstraction in oop with example?
What are classes oop?
What is the difference between a mixin and inheritance?
What is oops in programming?
What is a superclass in oop?