typedef struct list {
int value;
list *next;
}list_t;
void init(list_t *head) {
head->next = NULL;
}
Can you explain me that what difference between list
and list_t
?
I know declaration struct list list_t, but if I will declarate parametr list_t parametr, patametr.[...]
I think this is the same effect as list parametr, parametr.[....]
I don't understand what mean list *next
it's the same like list_t *next
?