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
How can you overcome the diamond problem in inheritance?
What is the difference between encapsulation and polymorphism?
INSTANCE FIELDS DECLARED private ARE ACCESSIBLE BY THE METHODS ONLY.CAN WE CHANGE THE private FIELD OF AN OBJECT IN A METHOD OF SOME OTHER OBJECT OF THE SAME CLASS?
What is the types of inheritance?
Write a program to implement OOPS concepts such as inheritance, polymorphism, friend function, operator overloading?
#include
How do you answer polymorphism?
What is the important feature of inheritance?
What does and I oop mean in text?
how to get the oracle certification? send me the answer
Which is not an object oriented programming language?
what is graphics
How to improve object oriented design skills?
What is for loop and its syntax?
What is encapsulation in simple terms?