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

Answer Posted / gilbert

C is low level mostly. The idea behind C was to create a
language that was close enough to the hardware so that you
can maximize efficientcy but far enough away from the
hardware so that it was easier to program in that say
assembly. C++ is a high level multiparadigm general purpose
programming language that supports object orientation it is
not an object oriented programming language because an
object oriented programming language forces you to use
object oriented programming like Java or C# in those
languages everythings is an object but C++ not only shows
support for object oriented programming but for generic
programming, polymorphism, inheritance, encapsulation,
procedural programming and multiple inheritance, statically
typed, and free form as well.

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 functions in oop?

586


What is basic concept of oop?

700


What is the point of oop?

656


What is encapsulation example?

551


How to call a non virtual function in the derived class by using base class pointer

5278






How is class defined?

588


What is protected in oop?

604


What is property in oops?

569


What is inheritance and how many types of inheritance?

622


What is polymorphism in oop example?

517


What is encapsulation oop?

578


What is a class and object?

600


What is object and class in oops?

589


What is destructor oops?

625


What type of loop is a for loop?

683