what is the main difference between c and c++?
Answer Posted / jayasrinivas.donavalli
The main Difference between C and C++ is C is Object Based
program.that means in C also we have Object 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
| Is This Answer Correct ? | 959 Yes | 221 No |
Post New Answer View All Answers
what is difference between class template and template class?
What are the two different types of polymorphism?
What are constructors in oop?
Explain virtual inheritance?
Give two or more real cenario of virtual function and vertual object
What is inheritance write a program to show use of inheritance?
State what is encapsulation and friend function?
What does no cap mean?
How to handle exception in c++, For example in a functions i am assigning memory to some variables and also in next instructions in am dividing one variable also. If this functions generates a error while allocating memory to those variable and also while dividing the variable if i divide by zero then catch block how it will identify that this error has cone from perticular instruction
What is the difference between static polymorphism and dynamic polymorphism?
class type to basic type conversion
What is an example of genetic polymorphism?
How Do you Code Composition and Aggregation in C++ ?
#include
What are the important components of cohesion?