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
What is overloading and its types?
What are oops methods?
How can you overcome the diamond problem in inheritance?
Can we define a class within the interface?
What is oops concept with example?
What is encapsulation in simple terms?
What are benefits of oop?
What is the main purpose of inheritance law?
What is a class and object?
Write a program to reverse a string using recursive function?
What is the use of oops?
Can an interface inherit a class?
What is the full form of oops?
Can we have inheritance without polymorphism?
What is abstraction encapsulation?