strlen的返回值是size_t类型,它是一个无符号整数,因此,下面的写法: strlen(arr1) - strlen(arr2) >= 0; 不能作为判断条件使用,因为无符号数的差值还是无符号数,即该条件永远成立。