What is the difference between the keywords struct and class in C++?
By default the members of struct are public and by default the members of the class are private.
By default the members of struct are public and by default the members of the class are private.