Introduction - If you have any usage issues, please Google them yourself
Write a custom function int ctoi (char s []), to convert the string to the corresponding integer. Where s is a character array containing only numbers, the function returns the resulting integer value after the conversion. Verify the results in the main function. For example, after the character string " 512" converted integer 512.