diff --git a/du6/program.c b/du6/program.c index ddb0d38..097e116 100644 --- a/du6/program.c +++ b/du6/program.c @@ -98,7 +98,7 @@ int main(){ } //Print names if(newLines <= lines){ - printf("Prijati studenti:%s", string); + printf("Prijati studenti:%s", array); for(int i = 0; i < newLines; i++){ printf("%s\n", newNames[i]); }