puts
is simpler than printf
but be aware that the former automatically appends a newline. If that’s not what you want, you can fputs
your string to stdout or use printf
.
puts
is simpler than printf
but be aware that the former automatically appends a newline. If that’s not what you want, you can fputs
your string to stdout or use printf
.