c programming
Home/
Engineering Questions/what is the difference between printf() and sprintf () function?
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
sprintf() converts floats or doubles into formatted strings. whereas printf() function is used to display.
prinf will print the data on to the screen whereas sprintf will print the data to a buffer.
[email protected]
printf() is used to send the output to the output consoled
device i.e,monitor
and the sprintf() is send the output to the specified file
that will be given in the parameters
[email protected]
before that there will be s
prakash
sprintf() converts floats or doubles into formatted strings. whereas printf() function is used to display
sathish chill chill
printf and scanf