Is it legal to have a \"static\" member within a C struct?
For example
struct my_struct { int x; static int y; };
If indeed
you cannot use the static specifier in a structure...
static
structure
structure variables cannot be initialized inside a structure and static specifier initializes the variable to 0..
this behavior is not allowed in C..