what is the main difference between c and c++?

Answer Posted / bharat kashid

c is procedural language
c++ is is a procedural +object oriented .
we can use function inside structured in c++,
but not in c.
c follow top down approach while
c++follow bottomup approach.

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the 3 pillars of oop?

624


What is the main purpose of inheritance law?

676


can inline function declare in private part of class?

3666


What is difference between multiple inheritance and multilevel inheritance?

606


Why is it so that we can have virtual constructors but we cannot have virtual destructors?

3850






What is the use of oops?

625


What is interface in oop?

664


What is the difference between a constructor and a destructor?

619


There are two base class B1,B2 and there is one class D which is derived from both classes, Explain the flow of calling constructors and destructors when an object of derived class is instantiated.

1463


Write a program to sort the number with different sorts in one program ??

1924


What is the example of polymorphism?

562


any one please tell me the purpose of operator overloading

1968


What is polymorphism in oops?

565


What is encapsulation in simple terms?

545


Whats oop mean?

601