domaca_uloha_7

This commit is contained in:
Tomáš Vasiľ 2022-04-26 21:17:47 +02:00
parent bd05b81d3e
commit 22f3b73b8b

View File

@ -25,7 +25,7 @@ struct snake* remove_snake(struct snake* snake){
else { else {
struct snake* medzipamat = calloc(1, sizeof(struct snake)); struct snake* medzipamat = calloc(1, sizeof(struct snake));
medzipamat = snake medzipamat = snake;
while (1) { while (1) {
snake = snake->next; snake = snake->next;