The syntax of fputs() is similar with the syntax of fgets();
For example
if we have:fgets(str,maxlen,stdin)
which is the syntax of the fputs();
The syntax of a call to fputs() is the same as the syntax of any
function call. But you probably want to know more than just the
syntax; you want to know how to use it.
You should have some form of documentation for the functions in the C
standard library. On some systems, the "man" command will show you
this documentation. On others, there may be something called a "help"
system, or possibly an "info" command.
If you're learning to program in C, you should have a text book; look
up "fputs" in its index. If you don't have a text book, you need to
get one. One of the best tutorials is K&R2 (Kernighan & Ritchie, _The
C Programming Language_, 2nd edition).
I have a number of such resources myself; if I didn't, the first thing
I'd try is a Goole search for "fputs". (Ignore the references to PHP;
that's a different language, and apparently it has a function with the
same name.)
Your question is a very elementary one. If you have some resource
where you can look up things like this, you won't need to post such
questions here. If you don't have such a resource, it's going to be
very difficult to learn C.