Aktualizovat „du6/program.c“

This commit is contained in:
Bohdan Yanchyk 2020-04-16 07:42:17 +00:00
parent d26f313f9d
commit 6366290c7c

View File

@ -78,10 +78,10 @@ int main()
}
puts("Prijati studenti:");
for(int i = 0; i < SIZE; i++){
if(pole_smernikov[i] == NULL){
break;
} else{
if(pole_smernikov[i] != NULL){
printf("%s\n", pole_smernikov[i]);
} else{
}
free(pole_smernikov[i]);
}