利用c语言函数调用写strcmp,strncmp

经过函数调用,对字符串进行操做函数 #include<stdio.h> #define N 10 int  Strcmp(char *str1, char *str2) {      int j;      int i;      int len = 0;      for (i = 0,j = 0; *(str1+i) != '\0'; i++,j++)      {          len+
相关文章
相关标签/搜索