#include<stdio.h>
#include<stdlib.h>
#include<string.h>
char *mystrstr(const char *str1,const char *str2)
{
int i = 0,m=0;
while (1)
{
for (i = 0; i < s...
Implement strstr() 实现strstr函数功能
whowhoha@outlook.com
Question:
Implement strstr(). Returns the index of the first occurrence of needle in haystack, or –1
if needle is not pa...