0
## What is the difference between the keywords struct and class in C++ ?? :)
2 Answers
+ 6
Exactly as pointed out by Bill. Structs are public by default, classes are private by default.
+ 1
I think the main difference is that a struct and it's methods/properties are public by default and a class is private by default.