I have a very simple question: I want to use structs inside another structs but I want to be able to define them in any order I want. Something like this:
// User type definition
typedef struct type1{
int i;
type2 t;
};
// User type definition
typedef struct type2{
int i;
type3 t;
};
// User type definition
typedef struct type3{
int i;
};
How can I do this?