What is the difference when defining structs with typedef?

后端 未结 0 751
故里飘歌
故里飘歌 2020-12-23 17:32

Option 1:

typedef struct s{
                 int x;
                 double y;
                 char z;
                 }mystruct;

Option 2:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题