Searches a specified string for the last occurrence of a specified character.
char *strrchr (const char *s, long c);
s Pointer to the string to be searched
If the character is found: Pointer to the found character
If the character is not found: NULL
The strrchr function searches the string specified by s looking for the last occurrence of the character specified by c. If the c character is found, the function returns the pointer to the last occurrence of that character.
The null character at the end of the s string is included in the search objective.