C / string.h / strrchr
memchr, memcmp, memcpy, memmove, memset, strcat, strchr, strcmp, strcoll, strcpy, strcspn, strerror, strlen, strncat, strncmp, strncpy, strpbrk, » strrchr, strspn, strstr, strtok, strxfrm,
Funcion: strrchr()
Sintaxis:
char *strrchr(char *s, int c);

Descripcion: Localiza la última aparición de c (convertido a unsigned char) en la cadena apuntada por s (incluyendo el carácter nulo).


Ejemplo:
#include <stdio.h>
#include <string.h>
 
int main()
{
   char s[11] = "Hola amigos";
   char c = 'a';
 
   printf( "s=%s\t", s );
   printf( "c=%c\n", c );
   printf( "strrchr=%s\n", strrchr( s, c ) );
 
   return 0;
}

Librerias C

Librerias ANSI C
   string.hcstring
   math.hcmath
   stdio.hcstdio
   time.hctime
   stdlib.hcstdlib
   ctype.hcctype
   locale.hclocale
   signal.hcsignal
   setjmp.hcsetjmp

Librerias Borland
   conio.h
   graphics.h