<p>let us have a situation in which the following program prints some 10 lines of #</p>

<pre><code>for(i=0;i&lt;10;i++)
prinf("\n#");
</code></pre>

<p>now how to go back to 5 th line and edit that # and change the color of it without clearing the screen or clearing the below 5 lines?
<p>I have tried </p>

<pre><code>window(5,0,20,20);
textcolor(GREEN);
cprintf("#");
</code></pre>

<p>but it is not editing that one but it is printing on the side of the original one.why?
<p>is there any other way of doing it and changing the color of the already printed text dynamically?
please help me..my environment is turbo c on windows</p>

maybe-
```
```
cprintf("\b#");
```
```
'b' is for backspace