Ads are not running.
After reading
struct strct {
the compiler recognizes it struct strctas an incomplete type , which is a type that does not know the size. Since you can use pointers for incomplete types, this allows you to write something like this:
struct strct {
struct strct *next;
int foo;
};
"" , struct strct , ( ).
: :
struct strct;
, , struct strct. . , , - (, ). C. , , - :
struct strct;
struct strct *strct_create(void);
strct_foo(struct strct *self);
strct_bar(struct strct *self, int x);
[...]
struct strct ,