You are viewing a single comment's thread. Return to all comments →
The C version of this problem has a bug in the main function that calls the function to be implemented.
This line:
int* result = gradingStudents(grades_count, grades, &result_count);
should be replaced with:
int* result = gradingStudents(n, grades, &result_count);
Seems like cookies are disabled on this browser, please enable them to open this website
Grading Students
You are viewing a single comment's thread. Return to all comments →
The C version of this problem has a bug in the main function that calls the function to be implemented.
This line:
int* result = gradingStudents(grades_count, grades, &result_count);
should be replaced with:
int* result = gradingStudents(n, grades, &result_count);