Question: what does puts do in c?
Answer: The C library function int puts(const char *str) writes a string to stdout up to but not including the null character. A newline character is appended to the output.