Using a pointer, write a function named time() that accepts an integer number of seconds and the addresses of three variables named hours, min, nad sec. The function is to convert the passed number of seconds into an equivalent number of hours, minutes, and seconds and directly alter the vlaue of respective variables using the passed addresses.
To test, run the program using 10,000 seconds.
I know its not a big program, but I am stuck, anyone who will help me will be appreciated. Please mail this back to my address: email@example.com