diff --git a/a3/program.c b/a3/program.c index 1d411f1..7e9fea2 100644 --- a/a3/program.c +++ b/a3/program.c @@ -43,9 +43,9 @@ int compare(const void* p1, const void* p2) int main() { //helper/pomocne lokalne premeny - int studentsAmount; + int studentsAmount = 0; struct studentApplication student[STUDENT_SIZE]; - int i = 0; + int i = 0; //pomocny index char processedName[BUFFER_SIZE]; char processedSurname[BUFFER_SIZE]; char line[BUFFER_SIZE];