what is the main difference between c and c++?
Answer Posted / amitab
++ can be considered as the Develop form of C.Its originated
from c and include the most important concept i.e. "Object
Oriented".
The Most common Difference are as follow :
1.C is Procedural Language and C++ is Procedural+Objected
Oriented.
2.C contains 32 Keywords,C++ extends it to 52 Keywords.
3.Data is not secured in C due to non-object oriented.
4.C followe top down approach while C++ follow Bottomup
approach.
5.We can use function inside structure in C++,but not in C.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Templates mean
What is this pointer in oop?
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 abstraction in oops?
Where You Can Use Interface in your Project
What are the 4 pillars of oop?
How long to learn object oriented programming?
What are main features of oop?
What is polymorphism in oop example?
Why multiple inheritance is not possible?
What is polymorphism used for?
What is the renewal class?
What is inheritance and how many types of inheritance?
What is encapsulation c#?
How do you achieve runtime polymorphism?