Suppose there are 2 structures defined ad such:
typedef struct {
T x;
T y;
} A;
typedef struct {
A a;
T z;
} B;
Can I treat a pointer to structure B as pointer to structure A?
In practice is this reliable/standard/portable/compiler-invariant:
B b = {{1,2},3};
A * a = &b;
print(a->x);
print(a->y);