![]() |
What are the differences between C and C Plus Plus? |
[Edit] |
Answer
In one line C is procedural language and C++ is object oriented programing language. In a procedural language, your solution to the problem runs around the problem. In OOP language, you define entities that match real life objects. then you break the functionality into smaller chunks and then define various methods for the entities or objects to solve those small chunks of problems.
OOPS is based on follwoing 4 principals: 1. Polymorphism 2. Inheritance 3. Overloading. 4. Encapsulation.
Another technical difference between C &C++ is that in C structures, datamembers are public by default. and in C++ structures, datamemebers and class are private by default.
First answer by Amohit. Last edit by Vinaybedre. Contributor trust: 0 [recommend contributor]. Question popularity: 5 [recommend question]
|
Research your answer: |
- How do you password a notepad file?
- Advantage and disadvantage of modular programmig?
- Organizational policies related to quality the particular projects scope statement and product descriptions and related standards and regulations are all important input to the quality planning pro?
- Password to get into bertanica?





