here's the code...
why the declaration of foo2 with both static and typedefCode:#include <stdio.h> struct foo { int n; float k; }; /*static struct foo { int n; float k; };*/ typedef struct foo2 { int m; float l; } Foo2; /*typedef static struct foo2 { // this is wrong int m; float l; } Foo2;*/ typedef struct foo2 Foo2; /* this is correct */ int main( void ) { return 0; }
specifiers is not right?
thanks in advance,
trk