In addition to member names, the first creates a new type that can be used anywhere in the code where a type fits, so tipo_lista
becomes a type as much as int
is a type.
In the second, create a structure called noCliente
. This does not create a type, so if you want to instantiate it on an object you have to make it type struct noCliente
, since the type is struct
with a specialization.
Of course soon after this structure is used to create a type called CLIENTE
which will always be a pointer, so it will be a type by reference that is not the default of structures. Using the pointer required the separation between the structure declaration and the type declaration.