train
This commit is contained in:
parent
960491964c
commit
0d8ada0d9d
@ -7,6 +7,7 @@
|
||||
struct car* add_car(struct car* first,const char* target) {
|
||||
struct car* newcar = calloc(1, sizeof(struct car));
|
||||
strcpy(newcar->value, target);
|
||||
newcar->next = first;
|
||||
if(first == NULL){
|
||||
return newcar;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user