C

Asked • 03/19/19

Difference between fprintf, printf and sprintf?

Can anyone explain in simple English about the differences between `printf`, `fprintf`, and `sprintf` with examples?What stream is it in?I'm really confused between the three of these while reading about "File Handling in C".

1 Expert Answer

By:

Keith B. answered • 03/27/19

Tutor
4.6 (22)

Software Engineer and Math Geek

Still looking for help? Get the right answer, fast.

Ask a question for free

Get a free answer to a quick problem.
Most questions answered within 4 hours.

OR

Find an Online Tutor Now

Choose an expert and meet online. No packages or subscriptions, pay only for the time you need.