Ok, this one I saw on a tutorial on the web. It was a linked list
struct node {node *next;
char *something;};
typedef struct node linkedlist;
and in insert and delete it had functions like
void insert(linkedlist *head, char *rec){
..
pointer->something=new_record(*rec)
with new_record using a malloc
Is this nesessary or is somthing like
pointer=(*linkedlist)malloc(sizeof(*linkedlist))
enough?