Are there any best practices for using one over the other?
Let style drives the decision.
Since efficiency of execution is the same or nearly identical, use the style that best conveys the larger code's function.
If the function had lots of printf()
, stay with printf("\n")
.
Likewise for putchar('\n')
and puts("")