The usage of strncpy is wrong. See the man page for the proper usage. scanf("%s",namedata); is potentially unsafe from buffer overflow. Atleast, ...
確定! 回上一頁