Algorithm Workbench
Write a function whose prototype is
char lastChar(const char *str)
that takes a nonempty C-string as parameter and returns the last character in the string. For example, the call lastChar("abc") will return the character c.
We need at least 10 more requests to produce the solution.
0 / 10 have requested this problem solution
The more requests, the faster the answer.