Im trying to link a few files in c and im getting this erorr: \"multiple definition of createStudentList\"
my main.c:
#include \"students.h\"
int mai
Remove #include "students.c"
from students.h. Because of this the definition is occuring twice - one from students.h and another from students.c - hence the clash.
Just remove the above mentioned line and also add #include
in your students.h. Do these modifications and your code will compile and link fine.