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


Please Help Members By Posting Answers For Below Questions

Why is encapsulation used?

579


What is the oops and benefits of oops programming?

558


What is oops in simple words?

585


What is destructor oops?

625


Why is polymorphism important in oop?

637






What language is oop?

597


How do you achieve runtime polymorphism?

573


What do you mean by abstraction?

620


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?

1411


What is pointer in oop?

541


What is abstraction in oop with example?

647


What are classes oop?

601


What is the difference between a mixin and inheritance?

524


What is oops in programming?

570


What is a superclass in oop?

672