what isthe difference between c structure and c++ class
Answer Posted / jeremiah
The default scope of a C struct is public, whearas the
default scope of a C++ class is private.
Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
They started with the brief introduction followed by few basic C++ questions on polumorphism, inheritance and then virtual functions. What is polymorphims? How you will access polymorphic functions in C? How virtual function mechanism works?
what is the drawback of classical methods in oops?
What is property in oops?
#include
What is the purpose of enum?
How do you explain polymorphism?
Why is destructor used?
What is the difference between a constructor and a destructor?
Are polymorphisms mutations?
Why we use classes in oop?
What are the three parts of a simple empty class?
How to use CMutex, CSemaphore in VC++ MFC
Why is object oriented programming so hard?
What is difference between class and object with example?
Explain the advantages of inheritance.