Interview Questions

printf() Function- What is the difference between "printf(...)" and "sprintf(...)"?

C Interview Questions and Answers


(Continued from previous question...)

printf() Function- What is the difference between "printf(...)" and "sprintf(...)"?

sprintf(...) writes data to the charecter array whereas printf(...) writes data to the standard output device.

(Continued on next question...)

Other Interview Questions