Question: Consider the following structure: struct std char name[20]; int grade; }; Write a C function that prints the student names and grades to the FILE
Consider the following structure:
struct std
char name[20];
int grade; };
Write a C function that prints the student names and grades to the FILE "passingstudents.txt" that scored above 50. Assume that array is already filled. Array and its size are given as parameters to your function.
void printfileabove50 (struct std s [1, int size );
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
