diff --git a/cv10/program.c b/cv10/program.c index c174d58..87aa26c 100644 --- a/cv10/program.c +++ b/cv10/program.c @@ -20,7 +20,6 @@ int main() { while (fgets(temp_name, sizeof(temp_name), stdin) != NULL && num_accepted < max_students) { // Remove newline character from temp_name - temp_name[strcspn(temp_name, "\n")] = '\0'; int i, found = 0;