I'm need some help initializing a pointer. Below is a segment of my code that I'm working on. The pointer that I need help with is subjectPtr.
typedef struct SUBJECT DATA;
int num_elements = 0;
int num_allocated = 0;
void readInputFile(FILE *input)
while(fscanf(input,"%d\t%d", subjectPtr->fam, subjectPtr->id) != EOF)