Ok here is a portion of my code...
Every time I try to compile I get the message: Incompatible types in assignment, where I try to set the lastName = to "morris"Code:
int grade1, grade2, grade3, grade4, grade5;
int numberOfRecords = 11;
struct studentGrades2 *grades2;
grades2 = malloc(numberOfRecords * sizeof(int));
grades2.lastName = "morris";
What am I doing wrong? I've been at this for hours