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
Is java a c++?
What do you know about near, far and huge pointer?
total amount of milk produced each morning and then calculates and outputs the number of cartons needed for this milk , the cost of producing the milk and the profit from producing this milk.
What do you mean by early binding?
Tell me an example where stacks are useful?
Explain all the C++ concepts using examples.
What do you mean by static variables?
What is #include iostream h in c++?
What is a binary file? List the merits and demerits of the binary file usagein C++.
What is the use of lambda in c++?
How are virtual functions implemented in c++?
What is #include c++?
What does it mean to declare a member function as virtual?
What is private inheritance?
What is one dimensional array in c++?