1:By default,the members of structures are public while that for class is private
2: strutures doesn't provide something like data hiding which is provided by the classes
3: structures contains only data while class bind both data and member functions
The Differences between Structure and Classes are as follows: 1. By default structure are public while a class is private. 2. A Class can be inherited while a structure can not be inherited. NOTE:- 1.Strutures provide data hiding which is provided by the classes, by public and private. 2.Structures contains both data as well as member functions.