what is the main difference between c and c++?
Answer Posted / dua gee
C++ was based on C and retains a great deal of the functionality. C++
does not retain complete source-level compatability with C.
There are a few gotchas for C++ programmers trying to write C code, and
C programmers trying to compile with a C++ compiler.
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.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How long to learn object oriented programming?
What do you mean by variable?
Can we define a class within the interface?
Which method cannot be overridden?
What are the benefits of interface?
What is encapsulation selenium?
What is the difference between a constructor and a destructor?
What is the difference between procedural programming and oops?
i=20;k=0;
for(j=1;k-i;k+=j<10?4:3)
{
cout< What do you mean by Encapsulation? What is object in oop? What is methods in oop? What is the use of oops? What is the fundamental idea of oop? Explain virtual inheritance?