最佳答案:inth_strcmp(char*s1,char*s2){intresult,i;for(i=0;*(s1+i)!='\0'&&*(s2+i)!='\0';i++){if(*(s1+i