what is the main difference between c and c++?
Answer Posted / rajeev kumar
Actually c is a procedural programming language which
cann't face the real world problem. It has some drawback
like a global data is shared by all function and if in a
large program it is find out difficult that which function
uses which data.
On the other hand c++ is an object oriented programming
language which eliminate some pitfall of conventional or
procedural programming language. It is a concept or
approach for designing a new software. It is nothing to do
with any programming language although a programming
language which support the oops concept to make it easier
to implement.
This is the main different between c and c++.
| Is This Answer Correct ? | 3762 Yes | 477 No |
Post New Answer View All Answers
Who invented oop?
What is an interface in oop?
What is the real time example of inheritance?
Templates mean
What is object in oop?
What is the diamond problem in inheritance?
What is the purpose of enum?
How oops is better than procedural?
Can you inherit a private class?
What is polymorphism and example?
How can you overcome the diamond problem in inheritance?
What is the point of polymorphism?
What type of loop is a for loop?
Which language is pure oop?
What is debug class?what is trace class? What differences are between them? With examples.