Question: Exercise 3 Use the following framework, Design a function to exchange two student data. struct student long id; char Name[10]; int subject1; int subject2; int

 Exercise 3 Use the following framework, Design a function to exchange

Exercise 3 Use the following framework, Design a function to exchange two student" data. struct student long id; char Name[10]; int subject1; int subject2; int subject3; void swap(struct student *sl, struct student *s2); void printscore(struct student *sn); eint main() struct student st1 = { 104310030," struct student st2 = { 104310047," 1"),60,70,80); 2", 90,80,70 }; void swap(struct student *s1, struct student *s2) struct student temp; temp = *s1; void printscore(struct student *sn) 40 41 - O x 1 C:\Users\user\source epos week15\Debug\week15.exe WAT 104310030 291 152:60 #24:70 32:80 104310047 2 2152:90 # 252:80

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!