Instructions on using strings in C

buf[i] corresponds to successive characters of the string, and %c means formatting in C the printout for characters. Knowing all that, you can now convert any substring composed of digits into an integer. For this to happen, do the following: first, declare the arrays to hold all relevant substrings, for example: char hrs[3], min[3], sec[3]; ................
................