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
What is class and object with example?
Why interface is used?
What is overloading in oops?
What is meant by oops concept?
write a code for this. serial_number contained in the header of the file will be read , if this serial number is less than a previous serial number within a successfully processed file, or is the same as another serial number within a successfully processed file, or if the field contains anything other than 7 digits, then the file must error with the reason ‘Invalid SERIAL_NUMBER’.
How does polymorphism work?
Write a program to sort the number with different sorts in one program ??
What is polymorphism give a real life example?
What is encapsulation with example?
What is the main feature of oop?
What is class in oop with example?
What does and I oop mean?
What is the difference between encapsulation and polymorphism?
What are the two different types of polymorphism?
What are the 3 pillars of oop?