gets, fgets - get a string from a stream
char *gets (s)
char *fgets (s, n, stream)
reads a string into
from the standard input stream
The string is teminated by a new-line character, which is replaced in
by a null character.
returns its argument.
reads n-1 characters, or up to a new-line character (which is retained),
whichever comes first, from the
into the string
The last character read into
is followed by a null character.
returns its first argument.
return the constant pointer NULL upon end-of-file of error.
deletes the new-line ending its input, but