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
What is abstraction example?
What is object in oops?
When not to use object oriented programming?
i am getting an of the type can not convert int to int *. to overcome this problem what we should do?
What is basic concept of oop?
What is class and example?
Can abstract class have normal methods?
What is a null tree?
Why is oop better than procedural?
What is the difference between inheritance and polymorphism?
What is the purpose of enum?
How do you define social class?
What is static modifier?
Write a program to sort the number with different sorts in one program ??
Is enum a class?