From d0a41edb74d1a1a01c81dbe53762b4b6056675fe Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 25 Apr 2024 21:09:15 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cv10/program.c b/cv10/program.c index 59add77..29274e5 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -58,7 +58,7 @@ int main() { if (count > accepted_count) { printf("Neprijati studenti:"); - for (; j < i; j++) { + for (; j < count; j++) { printf("%s\n", applications[j]); } } @@ -70,4 +70,4 @@ int main() { free(applications); return 0; -} +} \ No newline at end of file