반응형
s
char *strrchr(const char *s, int c)
char *strrchr(const char *s, int c) { char* ret=0; do { if( *s == (char)c ) ret=s; } while(*s++); return ret; }
반응형