What is the difference between Class and Structure?
Answer Posted / rakesh kumar
structure can not be declare privately but class can be
declared public as well as private.In structure data member
and member function are public by default and in class
these are private by default
Is This Answer Correct ? | 59 Yes | 39 No |
Post New Answer View All Answers
Explain about Virtual Function in C++?
Explain how we implement exception handling in c++?
What does scope resolution operator do?
What is class invariant in c++?
What is the use of endl?
Why c++ is not a pure oop language?
What is functions syntax in c++?
What's the "software peter principleā?
What is wrapper class in c++?
What is protected inheritance?
What are disadvantages of pointers?
Write about the members that a derived class can add?
What is the c++ programming language used for?
Differentiate between a template class and class template in c++?
Does c++ cost money?