title: How does \r,\n,\b works in this program
body: <p>Can anyone tell me how i got the <strong>output:hai</strong> for the following code?</p>
  
  <pre><code>   int main()
     {
     printf("\nab");
     printf("\bsi");
     printf("\rha");
     return 0;
     }
  </code></pre>