C++ Interview Questions and Answers - FAQ
What is the difference between struct and class?
There are few differences:
All members of struct are public.
Default inheritance for struct is public, where as for class the default inheritance is private.
Post a Comment
Post Comments (Atom)