本文翻译自:typedef struct vs struct definitions [duplicate]
This question already has an answer here: 这个问题已经在这里有了答案:
- Why should we typedef a struct so often in C? 为什么要在C语言中这么频繁地对结构进行typedef? 15 answers 15个答案
I'm a beginner in C programming, but I was wondering what's the difference between using typedef
when defining a structure versus not using typedef
. 我是C编程的初学者&#x