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
What is the use of oops?
Which is better struts or spring?
What is class and example?
What is basic concept of oop?
Is oop better than procedural?
Can an interface inherit a class?
which feature are not hold visual basic of oop?
Why do we use oops?
What is abstraction in oops with example?
What is a class oop?
Why do while loop is used?
write a program that takes input in digits and display the result in words from 1 to 1000
What is polymorphism explain?
Where You Can Use Interface in your Project
How to improve object oriented design skills?