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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!