title: Is it possible in printf to set number of chars
body: <p>Is it possible in <code>C</code> to set a number of chars to be output from string?</p>
  
  <pre><code>char const *str = "abcdefgh";
  printf("%???s", str);
  </code></pre>
  
  <p>What should be placed instead of ??? to output <code>abc</code>?</p>