With scanf("%255[^\n]%*c",line); and the first character read is '\n' , nothing is read into line . line remains as is, possible lacking a null ...
確定! 回上一頁