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
Which of the following is evaluated first: a) && b) || c) !
What is pure virtual function? Or what is abstract class?
What is meant by entry controlled loop?
What is exception handling? Does c++ support exception handling?
Explain differences between new() and delete()?
What is data types c++?
What is abstraction c++?
what does the following statement mean? int (*a)[4]
Difference between pointer to constant and constant pointer to a constant. Give example.
Is it possible to use a new for the reallocation of pointers ?
Ask to write virtual base class code?
Is it possible to pass an object of the same class in place of object reference to the copy constructor?
Is dev c++ a good compiler?
What is meaning of in c++?
What are c++ templates used for?