What is the difference between class and struct in C++ ?
class
struct
A struct can not contain methods
A struct can not contain static members
The default access specifier in a struct is public instead of private
public
private
There is no difference