From 0b61a0856fc4d4eea89ce75b66982da758d3b364 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1=C5=A1=20Vl=C4=8Dek?= Date: Mon, 30 Mar 2026 08:02:05 +0000 Subject: [PATCH] Aktualizovat a3/program.c --- a3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/a3/program.c b/a3/program.c index 29dee9b..3dffcc0 100644 --- a/a3/program.c +++ b/a3/program.c @@ -30,7 +30,7 @@ int main() { if(sscanf(line, "%d", &studentsAmount) == 1) { continue; } } - else if(sscanf(line, "%s", &processedName) == 1) + else if(sscanf(line, "%s", processedName) == 1) { strcpy(student[i].name, processedName); strncat(student[i].name, &newLineSymbol, 1);