typedef struct { int age; int number; } person; static person self;//global declaration person *Self(){ return &self; }
我一直在尝试理解上面的类似代码,该代码在大型代码库中使用,任何帮助将不胜感激。
Self()
c static struct
c ×1
static ×1
struct ×1