domaca_uloha_7

This commit is contained in:
Tomáš Vasiľ 2022-04-26 19:46:44 +02:00
parent 90b8a98abd
commit 1fb1da956b

View File

@ -8,6 +8,8 @@ struct snake* add_snake(struct snake* snake,int x,int y){
if (snake != NULL) {
snake->next = novyZaciatok;
} else {
snake->next = NULL;
}
return novyZaciatok;