C String Functions - C strncpy. ... str1[]= "To be or not to be"; char str2[40]; char str3[40]; /* copy to sized buffer (overflow safe): */ strncpy ( str2, ...
確定! 回上一頁