int comp(char *s, char *t) { while (*t != 0) if (*s++ != *t++) return 0; return 1; } char *search(char *s, char *t) { while (!comp(s,t) && *s != '\0') s++; if (*s == '\0') return NULL; return s; }