Aktualizovat du2/program.c

This commit is contained in:
Tomáš Vlček 2026-03-11 01:43:19 +00:00
parent 78d0c49ead
commit 83f120ea47

View File

@ -19,7 +19,6 @@ int main() {
struct student databaza[SIZE];
memset(databaza,0,SIZE*sizeof(struct student));
int size = 0;
char meno[SIZE];
char line[SIZE];
memset(line,0,SIZE);
char* r = fgets(line,SIZE,stdin);
@ -29,8 +28,8 @@ int main() {
printf("Chyba: Zlyhalo nacitavanie vstupu.\n");
}
char name[SIZE];
memset(name,0,SIZE);
char meno[SIZE];
memset(meno,0,SIZE);
char* zaciatokMena = end + 1;