puts
int puts (const char * string ); | stdio.h |
cplusplus.com |
Output a string to stdout.
Copies the string to standard output stream (stdout) and
appends a new line character (\n).
Parameters.
Return Value.
On success, a non-negative value is returned.
On error EOF value is returned.
Example.
/* puts example : hello world! */
#include <stdio.h>
main ()
{
char string [] = "Hello world!";
puts (string);
}