int strcmp1(char *p1,char *p2) { for(;*p1=*p2;) { if(!*p2) return 0; p1++; p2++; } return(*p1-*p2); }