1. Given the following struct definition
struct time {
int secs;
};
write a function,
which takes, as an argument, the number of seconds since midnight, and returns the time of day.
Q1 Place your function, with function header comments, in your labsheet, with formatting. Consider Vim's :read command, or use Bash redirect/append.