typedef struct vs struct definitions [duplicate]
The common idiom is using both: They are different definitions. To make the discussion clearer I will split the sentence: In the first line you are defining the identifier S within the struct name space (not in the C++ sense). You can use it and define variables or function arguments of the newly defined type by defining … Read more