C语言字符串比较函数strcmp_百度知道
C语言字符串比较函数strcmpStrcmp(字符串1,字符串2)==0,则两个字符串一样,Strcmp(字符串1,字符串2)>0,则字符串1大于字符串2,就是说,按字典排序的话,...
C语言 strcmp( ) 字符串比较函数
printf("strcmp(a,b):%d\n",strcmp(a,b)); printf("strcmp(a,c):%d\n", strcmp(a, c)); printf("strcmp(a,d):%d\n", strcmp(a, d)); syste...