Question: what is the difference between printf and puts?
Answer: puts() writes the string s and a trailing newline to stdout. The function printf() writes output to stdout, under the control of a format string that specifies how subsequent arguments are converted for output. ... int printf(const char *format, ...);