O'Reilly logo
  • Nicholas Fey thinks this is interesting:

Here, buf is the name of a char array, MAX is the maximum size of the string, and fp is the pointer-to-FILE.

From

Cover of C Primer Plus, Fifth Edition

Note

Using 'fgets'