Write a simple C program that contains a function elapsed_time that takes as it arguments two time structures and returns a time structure that represents the elapsed time (in hours, minutes, and seconds) between the two times. So the call elapsed_time (time1, time2) where time1 represents 3:45:15 and time2 represents 9:44:03 should return a time structure that represents 5 hours, 58 minutes, and 48 seconds. Be careful with times that cross midnight. Your program should take, as input at the terminal, the two times from the user.
and
Write a function called clockKeeper that takes as its argument a dateAndTime structure. The function should call the timeUpdate function, and if the time reaches midnight, the function should call the dateUpdate function to switch over to the next day. Have the function return the updated dateAndTime structure and output it to the terminal