From 48626506a967e9679a68ba13a6ca1b259a4ab79a Mon Sep 17 00:00:00 2001 From: ak643du Date: Thu, 25 Apr 2024 20:49:24 +0200 Subject: [PATCH] Initialization --- cv10/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv10/program.c b/cv10/program.c index 17d8dda..69fd8eb 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -51,7 +51,7 @@ int main() { qsort(applications, i, sizeof(char *), compare_names); printf("Prijati studenti:\n"); - for (j = 1; j != i+1; j++) { + for (j = 0; j != i; j++) { printf("%s\n", applications[j]); }