As I understand it, the si has different functions for working with strings.
fgets() reads a fixed number of characters, including spaces and newlines.
scanf reads up to the space, besides, when using it you can get a stack overflow.
Is there a function that reads with spaces and puts a newline (if not, how to get rid of it)?
What are some other functions for working with strings, and what is recommended?