#include <syslib.h> |
#include <string.h> |
main() |
{ |
char *s= "Hello, Programmers!" ; |
char *p; |
clrscr(); |
p= memchr ( s, 'P' , strlen ( s ) ); |
if ( p ) |
printf ( "%s" ,p ); |
else |
printf ( "Not Found!" ); |
getchar (); |
return 0; |
} |
by: 发表于:2018-02-05 10:29:09 顶(0) | 踩(0) 回复
??
回复评论