This commit is contained in:
Radovan Kofira 2020-11-05 20:26:24 +01:00
parent 755275c1c9
commit 0db58c46ff

View File

@ -29,9 +29,8 @@ struct car* add_car(struct car* first,const char* target) {
void print_train(struct car* first) { void print_train(struct car* first) {
struct car* this=first; struct car* this=first;
while(this->next!=NULL){ while(this->next!=NULL){
printf(this->value); printf("%c",this->value);
this=this->next; this=this->next;
} }
} }