I want to know what is the difference between fgets() and scanf(). I am using C as my platform.
fgets()
scanf()
scanf parses a string you read in (or created), and fgets reads a line from an open FILE*. Or do you mean fscanf?