int str_num(char *src_str,char *dec_str)
{
int temp_num=0;
char *p=strstr(src_str,dec_str);
while(p)
{
temp_num++;
p+=strlen(dec_str);
p=strstr(p,dec_str);
}
return temp_num;
}
int str_num(char *src_str,char *dec_str)
{
int temp_num=0;
char *p=strstr(src_str,dec_str);
while(p)
{
temp_num++;
p+=strlen(dec_str);
p=strstr(p,dec_str);
}
return temp_num;
}