1.Develop a program that will read and store the details of a list of students in the format and produce the following output list: (a) Alphabetical list of names, roll numbers and marks obtained. (b)...

1.Develop a program that will read and store the details of a list of students in the format

and produce the following output list:


(a) Alphabetical list of names, roll numbers and marks obtained.


(b) List sorted on roll numbers.


(c) List sorted on marks (rank-wise list)


2. Write a program to read two strings and compare them using the function strncmp ( )


and print a message that the first string is equal, less, or greater than the second one.


3. Write a program to read a line of text from the keyboard and print out the number of


occurrences of a given substring using the function strstr ( ).




May 18, 2022
SOLUTION.PDF

Get Answer To This Question

Submit New Assignment

Copy and Paste Your Assignment Here