The most convenient function for printing a simple message on standard
outout is puts. It is even simpler than printf, since you
do not need to include a newline character -- puts does that for
you.
Using puts couldn't be simpler. Here is an example:
puts ("Hello, multiverse.");
This code example will print the string Hello, multiverse. to standard
output.
The puts function is safe and simple, but not very flexible.
See Formatted string output, if you want to print fancier output.