What is the Difference between "C structure" and "C++
structure"?
Answer Posted / asif iqbal
1.C is a procedural oriented lang. whereas C++ is an object oriented lang.
2.C employs bottom-up aproach whereas C++ employs top-down approach.
3.In C main preference is given to functions whereas in C++ main preference is given to objects.
4.In C no inheritence,polymorphism whereas in C++ it exists.
5.In C data member and member functions are separated whereas in C++ they are within a Class.
| Is This Answer Correct ? | 1 Yes | 8 No |
Post New Answer View All Answers
Can c++ be faster than c?
Define vptr.
Can comments be longer than one line?
Can manipulators fall in love?
What are built-in functions? What is the syntax for the definition?
Is c++ still in demand?
Explain the operation of overloading of an assignment operator.
Describe delete operator?
Is atoi safe?
Can I learn c++ in a week?
Is multimap sorted c++?
What is the use of string in c++?
What is c++ coding?
Is it possible to provide special behavior for one instance of a template but not for other instances?
What are the various arithmetic operators in c++?