diff --git a/cv10/program.c b/cv10/program.c index de71e14..37a7ad2 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:"); - for (j = 0; j < i; j++) { + for (j = 0; j <= i; j++) { printf("%s\n", applications[j]); }