If I have these structures:
typedef struct { int x; } foo; typedef struct { foo f; } bar;
Normally you would access x through
x
In C++, it is possible in two ways. The first is to use inheritence. The second is for bar to contain a reference member named x (int &x), and constructors that initialise x to refer to f.x.
bar
int &x
f.x
In C, it is not possible.