>>728
1,fgets(name[i], sizeof (name[i]), f_out);

2,fprintf(f_out, "%s %d\n", name[i],year[i]);