I am a newbie in C and I stumbled on this c-structure:
typedef struct
{
int dog;
int cat;
} FOO;
typedef struct
{
int id;
FOO* pRow[0]
} BAR;
I know basic c and c++ but I have no idea the motivation of the following line: "FOO* pRow[0]".
If the author wants to define a pointer to an array of FOO, then he/she should just define it as "FOO* pROW", right? Why does pROW[0] stands for in this case then?
Please enlighten me. Thanks!