domaca_uloha_7

This commit is contained in:
Tomáš Vasiľ 2022-04-26 19:58:13 +02:00
parent 04a2781b0a
commit 886f158cec

View File

@ -2,7 +2,7 @@
#include <stdlib.h>
struct snake* add_snake(struct snake* snake,int x,int y){
struct snake* novyZaciatok;
struct snake* novyZaciatok = calloc(1, sizeof(struct snake));
novyZaciatok->x = x;
novyZaciatok->y = y;