title: How to fill a char array in C
body: <p>Starting from </p>
  
  <pre><code>char tval[20] = "temp:26.62";
  </code></pre>
  
  <p>how can I add a space character until <code>tval</code> is filled? I need that in the end to obtain this:</p>
  
  <pre><code>char tval[20] = "temp:26.62          ";
  </code></pre>