N
nileshsimaria
Hi,
I have seen some code were we have array with zero elements (mostly
within structure)
like,
typedef struct foo {
int data[0]
}foo;
Just curious whats the use of this kind of code ? And how to use member
variable 'data' of struct foo ?
Thanks,
Nilesh
I have seen some code were we have array with zero elements (mostly
within structure)
like,
typedef struct foo {
int data[0]
}foo;
Just curious whats the use of this kind of code ? And how to use member
variable 'data' of struct foo ?
Thanks,
Nilesh