Heritage or Struct into Struct


I wonder what’s the difference between:

struct A

{

struct B{};

};

and:

struct A{};

struct B:A{};

Thanks for answers!