int strindex(char s[], char t[]) {
int i, j, k, pos;
pos = -1;
i = j = k = 0;
for (i = 0; s[i] != '\0'; i++) {
for (j = i, k = 0; t[k] != '\0' && t[k] == s[j]; k++, j++)
;
if (k > 0 && t[k] == '\0')
pos = i;
}
return pos;
}
if (k > 0 && t[k] == '\0')
pos = i;