strrchr (1) 썸네일형 리스트형 strchr & strrchr /* STRCHR.C: This program illustrates searching for a character * with strchr (search forward) or strrchr (search backward). */ #include #include int ch = 'r'; char string[] = "The quick brown dog jumps over the lazy fox"; char fmt1[] = " 1 2 3 4 5"; char fmt2[] = "12345678901234567890123456789012345678901234567890"; void main( void ) { char *pdest; int result; printf( "String to be searched: \n.. 이전 1 다음