Code Snippets C

//Declaration: char *strrchr(const char *str, int ch);
//Return: returns a pointer to the last occurrence of ch in *str.
#include
#include
int main(void){
char *p;
p = strrchr("I Love Clementine", 'i');
printf(p);
return 0;
}