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 are the different types of qualifier in java?
What is the difference between encapsulation and polymorphism?
What is the use of oops?
What are the 4 main oop principles?
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’.
What is a null tree?
What is a function in oop?
What is overloading in oops?
What is multilevel inheritance in oop?
What is cohesion in oop?
Why multiple inheritance is not allowed?
What is multilevel inheritance?
What is data binding in oops?
What is abstraction encapsulation?
Why do we use polymorphism?