みなさんすみません
できました

#define STRMAX (1024)
void test(int ofs, char *s, char *c, int clen){
char t;
if(s[ofs]=='\0') return;
t=s[ofs+clen];
s[ofs+clen]='\0';
if(strcmp(s+ofs,c)==0)
printf("matched at %d\n", ofs);
s[ofs+clen]=t;
test(ofs+1, s, c, clen);
return;
}
int main(void){
char s[STRMAX], c[STRMAX];
printf("input str:"); scanf("%s",s);
printf("check str:"); scanf("%s",c);
test(0, s, c, strlen(c));
}

>>260じゃないけど。