This homework is to examine arrays, strings and data structuresin c language. The homework is due in two parts
Part one:
Read in a file of names: last name, first name will be theformat.
A) Print the list of names sorted by last names, i.e., lastName,firstName
Findler, Michael
Miller, Teri
Pochert, Lois
B) Print the list of names sorted by first names., i.e.,firstName lastName
Lois Pochert
Michael Findler
Teri Miller
C) To get ahead of the game, read these in as two separatearrays.
Part Two:
Final version will require the names to be stored in an array ofstructs.
Expert Answer
An answer will be send to you shortly. . . . .