Repeat the Lab 1 but also pass the address of the variable totSec to the function secs(). Note that, now the function secs() takes 4 parameters and return nothing. Then, the secs() will directly alter the value of totSec for keeping the value of the total number of seconds, instead of returning the value from the function. Test the function secs() by calling it in the main function.
Bonus