What is the difference between structure and class?
- Members of structures are public while those of a class are private.
- Classes provide data hiding while structures don't.
- Class bind both data as well as member functions whereas structures comprise only data.