#include
int main()
{
char a[20],*p1=a,*p2=a;
p1="hello";
p2="hi";
int c=strcmp(p1,p2);
printf("%d",c);
}
int strcmp(char *p1,char *p2)
{
while(*p1=*p2){
if((*p1='\0')||(*p2='\0'))
break;
p1++;
p2++;}
if(*p1>*p2)
return 1;
else if (*p1<*p2)
return -1;
else