编写一个函数,计算子串s2在主串s1中出现的次数
int search(strtype *s1,strtype *s2,int i,int y)
{
}
int index(strtype *s1,strtype *s2)
{
}