what is the main difference between c and c++?
Answer Posted / nitish kumar jha
The main Difference between C and C++ is C is structure Based
programing language.that means in C also we have structure
based Applications like Structures and Unions.
C++ is Object Oriented Language that means entire
application will be depending on Objects only.
Uses of Object oriented Program is Reusability,Increase the
effiency of the program and it gives extra security like
Private data is also be there in C++.
C++ is the Advanced version of C.
In otherwords we say c++ supports both Object based and
Object oriented Applications
i mean finally i want say that both are same because C&C++
both are language the main diffrence between them C is old
version language and C++ is latest programing language which
come modified of C language ....
| Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is meant by multiple inheritance?
What is encapsulation and abstraction? How are they implemented in C++?
What is difference between abstraction and encapsulation?
What is the difference between procedural programming and oops?
What are the features of oop?
What is super in oop?
What is overriding vs overloading?
What is object-oriented programming? Webopedia definition
How to improve object oriented design skills?
What is abstraction in oop?
#include
What is encapsulation in oops?
Which is better struts or spring?
What do you mean by Encapsulation?