From e9817424cf4a7e2694f3be9e3b05c2afd9476d7d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Mon, 30 Mar 2026 11:04:44 +0000 Subject: [PATCH] Aktualizovat a3/program.c --- a3/program.c | 1 + 1 file changed, 1 insertion(+) diff --git a/a3/program.c b/a3/program.c index c4ab296..55e2dfa 100644 --- a/a3/program.c +++ b/a3/program.c @@ -54,6 +54,7 @@ int main() else if(sscanf(line, "%s %s", processedName, processedSurname) == 2) { strcpy(student[i].name, processedName); + strcpy(student[i].surname, processedSurname); strncat(student[i].name, &newLineSymbol, 1); i++; }