default access modifier in c++ in struct
A structure is a class defined with the struct keyword.
Its members and base classes are public by default.
In practice, structs are typically reserved for data without functions.
When deriving a struct from a class/struct, default access-specifier for a base class/struct is public.