Question: Write a C program to read name and total marks of students in a batch. The program must sort student names in alphabetical order. The
Write a C program to read name and total marks of students in a batch.
The program must sort student names in alphabetical order. The program must also sort student list based on descending order of marks.
You must use multilinked lists with various links following descending ordered marks and alphabetically ordered records.
If two students have same marks display them alphabetically. If two students have the same name display the details of the student with highest marks first.
Note: Marks cannot be negative. The name of a student only consists of capital and small English alphabets
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
