printf("Error %d
", 1);
printf("
Status: %d%%", 50);
prints
Error 1
Status: 50%
In this set up, is there any chance to insert Error 2
between Error 1
and
Status: 50%
. I understand that
and can be used to change printed text in the same line (e.g., if there is a single
between Error 1
and Status: 50%
), but can I change text in a previous line?
Thanks!
See Question&Answers more detail:os