first i create this structure :
if i want my variables not to be globalCode:struct album { char *name; char *artist; int numTracks; }
i can write this inside main:
struct album CD1, CD2, CD3;
or
"
typedef struct album Album;
... then inside main:
Album CD1, CD2, CD3; "
i cant understand this last part regarding where to write the typedef line
and what is the role of type of typedef?