title: How to append strings using sprintf?
body: <p>I am facing a serious issue with <code>sprintf</code>.</p>
  <p>Suppose my code snippet is:</p>
  <pre><code>sprintf(Buffer,&quot;Hello World&quot;);
  sprintf(Buffer,&quot;Good Morning&quot;);
  sprintf(Buffer,&quot;Good Afternoon&quot;);
  .
  .
  .
  </code></pre>
  <p>Some hundred sprints....</p>
  <p>If I do like this, it's getting overwritten.</p>
  <p>How can I avoid overwriting using <code>sprintf</code>? If I give a <code>printf</code> at the end I want to see all the lines.</p>