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.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment