{
char *s1="abcdefghi";
char *s2="bcde";
printf("the find char is %s/n",strstr_kk(s1,s2));
return 0;
}
{
char *s1,*s2,*temp,*s_str1;
s1=str1;
s2=str2;
s_str1=str1;
while(*s1!='/0')
{
temp=s1;
while((*s1++)==(*s2++));
if(*(s2-1)=='/0')
{
return temp;
}
else
{
s2=str2;
s1=++s_str1;
}
}
return NULL;
}