If for the following code:
printf(\"HEllo\\n\"); // do not change this line. printf(\"\\b\\bworld\");
I need an output: Helloworld (In a
In a console, you can't go up a line. You can clear the screen and redraw it (which simulate going up a line.) Or you can rewrite on the same line. \r will take you to the beginning of the line you just printed.