C-FAQ #0115
Avinash Narwekar
03:32s1400 comment
C Programming - Declarations, Initializations How can I define a pair of mutually referential structures? I tried typedef struct {int a; s2 b;} * s1; typedef struct {int c; s1 d;} * s2; but the compiler doesn't know about s2 when it is used in the first structure declaration.
Embed code