# sprintf function

sprintf is used to format data and put it into a string array. It is basically a printf and so uses the same escape sequences and format identifers.

example program.

# See also

fprintf which will O/P formatted text to a file.

printf O/P formatted text to STDOUT.

puts O/P text to STDOUT.

strcpy Copy strings.

strcat Concatinate strings. MAN PAGE.

Top | Master Index | Keywords | Functions