the "second_name" can (and often is) the same as "first_name".
typdef struct object object;
is perfectly valid. There is no difference between that and defining the contents of the struct...
Type: Posts; User: matsp
the "second_name" can (and often is) the same as "first_name".
typdef struct object object;
is perfectly valid. There is no difference between that and defining the contents of the struct...
Because the second form is entirely identical, but one line shorter? There is technically no difference between those two forms. It is however very much the convention to use one typedef/struct...