[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
puts() Write String to Stdout
#include <stdio.h>
int puts(string);
char *string; String to be output
puts() copies 'string' to the standard output stream 'stdout'. The
string's terminating null character ('\0') is replaced with a
new-line character ('\n').
Returns: The last character written, which is always a new-line
character. A return value of EOF indicates an order.
-------------------------------- Example ---------------------------------
#include <stdio.h>
int pause;
main()
{
puts("Press any key to proceed...");
pause = getchar();
}
See Also:
fputs()
gets()
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson