char last_char (const char * String) { return (String [strlen (String) - 1]); }
Think it through.
start the function passing it the string
check the length of the string
Use that length to determine which character you want
retrieve that character.
return the character
Now, turn each of those statements into code.