Writes a text line to standard output #include <stdio.h> int puts ( const char *string ); The puts( ) function writes the string referenced by its pointer argument to the standard output stream, followed by a newline character ('\n'). The return value is non-negative, or EOF if an error occurs. ExampleSee the examples at qsort( ), setjmp( ), and signal( ) in this chapter. See Also |