Home > Electronics Tutorials > C Language Tutorial > string.h - strrchr

C Language Programming Library Reference Guide

string.h - strrchr

Declaration: char *strrchr(const char *str, int c); Searches for the last occurrence of the character c (an unsigned char) in the string pointed to by the argument str. The terminating null character is considered to be part of the string.

Returns a pointer pointing to the last matching character, or null if no match was found.

Note: To report broken links or to submit your projects, tutorials please email to Webmaster

Discover

     more......