Character string search (end position)
char *strrchr(const char *s, int c);
Returns a pointer indicating c that has been found. If c does not appear in this character string, the null pointer is returned.
This function obtains the position at which c converted into char type appears last in the character string indicated by s. The null character (\0) indicating termination is regarded as part of this character string.