The puts() function sends a stream of text to the standard output device.
Here's the format:
int puts(const char *s);
for example,
puts("text");
The following code displays Two Lines of Text
#include <stdio.h> int main() //from w w w. j av a2 s.c o m { puts("hi,"); puts("test."); return(0); }