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
Who was the creator of c++?
We all know that a const variable needs to be initialized at the time of declaration. Then how come the program given below runs properly even when we have not initialized p?
what kind of projects are suitable for c and c++
Can manipulators fall in love?
What apps are written in c++?
What do you mean by volatile and mutable keywords used in c++?
What is pure virtual function? Or what is abstract class?
What is increment operator in c++?
Can the creation of operator** is allowed to perform the to-the-power-of operations?
How many types of modularization are there in c++?
What is auto used for in c++?
What is the use of setprecision in c++?
What are c++ redistributables?
Can we make copy constructor private in c++?
Is there any function that can skip certain number of characters present in the input stream?