Stdio h C Tutorial

Item Value
Header filestdio.h
Declarationint puts(const char *str);
Functionwrites the string to the standard output device. The null terminator is translated to a newline.
Returnreturns a nonnegative value on success or an EOF upon failure.

#include 
  #include 
  int main(void)
  {
    char str[80];
    strcpy(str, "this is an example");
    puts(str);
    return 0;
  }
this is an example