I am having a problem initializing an array of structs. I\'m not sure if I am doing it right because I get \"initialization from incompatible pointer type\" & \"assignme
student* students = malloc(sizeof(student)*numStudents); int x; for(x = 0; x < numStudents; x++) { student newStudent = {"john", "smith", 1, 12, 1983}; // string copy are wrong still students[x] = newStudent; }