Someone
public text v1 · immutablestruct node {
int data;
struct node *link;
};
struct node * start;
struct node * tmp;
// to delete the first node
tmp = start;
start = start->link;
free(tmp);struct node {
int data;
struct node *link;
};
struct node * start;
struct node * tmp;
// to delete the first node
tmp = start;
start = start->link;
free(tmp);