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
What are friend functions in C++?
How do you print a string on the printer?
What do you mean by stack unwinding in c++?
What do manipulators do?
Which operator cannot be overloaded c++?
What is the difference between strcpy() and strncpy()?
What is a local reference?
Which operator cannot overload?
Define what is constructor?
Explain class invariant.
What is a hash function c++?
What is the difference between ++ count and count ++?
What is the protected keyword used for?
What are vtable and vptr?
What can I use instead of namespace std?