Hello, I'm in a beginners programming class, and I have been staring at this code for hours. I can't get the strcpy to work, and cannot figure out why.
#include<stdio.h>
typedef struct
{
char name;
short score;
} Student_record;
Student_record students[20];
int main()
{
int ctr = 0;
int num;
int n = 0;
char first[20];
FILE * iPtr;
iPtr = fopen("input.txt", "r");
if (iPtr == NULL)
{
printf("File did not read");
return 0;
}