How do i fix my stringcompare function so that it measure the entire string

后端 未结 0 359
北海茫月
北海茫月 2020-12-02 20:03
int comparestrings(char *x,char *y){
int j = 0;

    for (j=0;j<4;j++){

         if (x[j]y[j]){return 1;}
                  


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题