strcmp strncmp,最佳解答. strcmp(string1,string2)比較兩個string,若是string1<string2則傳回值<0,若等於0則兩字串相等,若大於0則string1>string2. char test1[10].
確定! 回上一頁