Doctor, consider these two structures
struct A
{
int a;
struct B b;
};
struct B
{
int b;
struct A a;
};
This code obviously gives a compile error, how can we address this type of problems? Can we provide a structure prototype, similar to a function prototype when using two dependent functions?