printf() and sprint() Functions

Q

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

✍: Guest

A

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

2007-02-26, 17504👍, 0💬