|I have been practicing structures and function and while making a program that does not accept '\n' and EOF as input. Below is the program, it takes input but the compiler does not shows any error.
team = check();
printf("Name: %s\t\tGoals: %d\n", team.name, team.goals);
if((c=temp.name)==EOF && c == '\n')