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
What is Difference Between Inheritance and creating object and getting data? means Class A extends B{ B.getMethod();} (OR) Class A{ b obj=new B(); obj.getMethod(); }
What is polymorphism explain?
What is the fundamental idea of oop?
write a program to find 2^n+1 ?
What exactly is polymorphism?
What is an interface in oop?
What is multilevel inheritance explain with example?
What is the point of polymorphism?
to find out the minimum of two integer number of two different classes using friend function
What do you mean by overloading?
What is interface in oop?
What is solid in oops?
How is class defined?
What is debug class?what is trace class? What differences are between them? With examples.
Write a program to sort the number with different sorts in one program ??