Initialization

This commit is contained in:
Kozar 2024-04-25 19:55:32 +02:00
parent c81050d011
commit 60e9f19220

View File

@ -51,8 +51,10 @@ int main() {
qsort(applications, i, sizeof(char *), compare_names); qsort(applications, i, sizeof(char *), compare_names);
printf("Prijati studenti:"); printf("Prijati studenti:");
for (j = 0; j < i; j++) { int j = 0;
while (j < i) {
printf("%s\n", applications[j]); printf("%s\n", applications[j]);
j++;
} }
if (count < i) { if (count < i) {