what is the main difference between c and c++?
Answer Posted / narasimharao.v.v
The main Difference between C & CPP is,
1. C is a procedure oriented programming language, Where as CPP is an object oriented programming language.
2. C follows top down approach, where as CPP follows bottom up approach.
3. C= BCPL + B
4. CPP = C+ simula67.
5. C is not providing more security to the data. But cpp provides more security to the data than C.
6. CPP supports the object oriented features like Class, Object, Polymorphism, Inheritance etc. But C does not supports Object oriented features.
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
hi all..i want to know oops concepts clearly can any1 explain??
What language is oop?
Can we create object of abstract class?
Why is encapsulation used?
What is the difference between encapsulation and polymorphism?
Can we have inheritance without polymorphism?
Write A Program to find the ambiguities in Multiple Inheritance? How are they resolved.(Virtual Functions)
write string class as your own class in java without using any built-in function
What does enum stand for?
how to get the oracle certification? send me the answer
Is this job good for future? can do this job post grduate student?
What is byval and byref? What are differences between them?
What do you mean by Encapsulation?
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
What is a function in oop?