title: questions about a particular string within printf
body: <p>I found this C language fragment:</p>
  
  <pre><code>printf("[%d] %.*s\n", cnt++, temp - field, field);
  </code></pre>
  
  <p>where <code>temp</code> and <code>field</code> are <code>char *</code> and <code>cnt</code> is an integer.</p>
  
  <p>But I don't understand the use of <code>%.*s</code> in format string within <code>printf</code>.</p>
  
  <p>Can-please-any of you help me ?</p>