scanf parses a string you read in (or created), and fgets reads a line from an open FILE*. ... The main difference lies in the fact that scanf has no limits ...
確定! 回上一頁