Well I have the struct here, an array of structs actually. I have to malloc it, and then free. How is it done, in codes? Thanks for any help. I'm driven crazy for days but I can't do it.
Code:struct Student
{
char id[20], grade;
int *tests;
int total;
};
struct Student Stud[81];