What is the difference between printf() and puts() in C?
- by alex
First up, I should let you know that I am learning C, so my apologies if this question seems stupid to a more advanced developer.
I know you can print with printf() and puts(). I can also see that printf() allows you to embed variables inside and do some stuff like formatting.
Is puts() merely a primitive version of printf(). Should it be used for every possible printf() without string interpolation?
Thanks