Question: c programming File: 4) typedef struct { char name[50]; int id; char dept[20]; ; } student; a) Write a function void saveByDept(char *fileName, char *

 c programming File: 4) typedef struct { char name[50]; int id;

c programming

File: 4) typedef struct { char name[50]; int id; char dept[20]; ; } student; a) Write a function void saveByDept(char *fileName, char * size) that will save the information of all students who belong to by deptName into a text file. The name of the file is given double cgpa; b) Write another function to delete the students of the depar equal to 3 from the file you have created in part (a)

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!