Whichincludes MAXlines.and you candefinethe MAX at the beain of vour proaram. assume each line includes less than100 characters
(1)WriteafunctiongetHolidays(char*filenamecharholidayList[MAX1001) that reads the list of holidays from the file Holidays.txt to the string arrayholidayList then displays the current list of holidays. If the Holidays.txt file is not existed,just create the file in your program.The getHolidays()function should return the actual size of the holidays list.(2) Write a functionnamedsortList(char(*holidayList)[100int listLength) to sort the holidays in ascending order.
(4) When the user selects add or delete a holidav after the holidavs have been modified. the proaram should cals
the sortList() and then display the new list.
(5)When the user selects quit, if the holiday has been modified anyway the program should ask the user whether the new
istshould be saved if the user responds affirmativelv the function should write the new data to the existing Holidays.txt file, overwriting the contents of the existing file.
请写出你的初始思路吧, 谢谢。