title: Erase the current printed console line
body: <p>How can I erase the current printed console line in C? I am working on a Linux system. For example - </p>
  
  <pre><code>printf("hello");
  printf("bye");
  </code></pre>
  
  <p>I want to print bye on the same line in place of hello.</p>