如果两个字符串相等的话,strcmp将返回0。 如果s1是s2的一个子串的话,s1小于s2 此外还有函数 int strncmp (const char *s1, const char *s2, size_t size)
確定! 回上一頁