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