strncpy 函数为将src的n个字符复制到dest字符串中,赋值后dest的strlen为n,如果n >= strlen(src)那么此时调用strncpy相当于调用strcpy()函数,即全部复制 ...
確定! 回上一頁