puts() STDIO puts() Write string onto standard output #include <stdio.h> void puts(string) char *string puts appends a newline character to the string pointed to by string, and writes the result onto the standard output. ***** Example ***** The following uses puts to write a string on the screen. #include <stdio.h> main() { puts("This is a string."); } ***** See Also ***** fputs(), STDIO ***** Notes ***** For historical reasons, fputs outputs the string unchanged, whereas puts appends a newline character. COHERENT Lexicon Page 1