Someone suggests to use snprintf() instead of sprintf() for somewhat code safety problem.I am a newer, not knowing why but that snprintf() is a similar thing to sprintf(), and they have the same form to use.
sprintf has a heavy footprint (almost 2k of code) and requires a RAM buffer. For simple printing using multiple Serial.print statements uses much less code and no RAM buffer. For more complex printing, have a look at Mikal Hart's print streaming library: New Streaming Library | Arduiniana
This does not need a RAM buffer and uses no more code than the equivalent Serial.print functions.