C Programming Language


                           It is used to display a string on a standard output device. The puts() function automatically inserts a newline character at the end of each string it displays, so each subsequent string displayed with puts() is on its own line. puts() returns non-negative on success, or EOF on failure.

The following program illustrates the use of puts function.

puts function
putchar Home Control statements

c program stats