title: assignment supression and field width in scanf
body: <p>in printf a field width may be specified as '*'</p>
  <pre><code>printf(&quot;%*s&quot;, 99, str);
  </code></pre>
  <p>how can i do the same in scanf without it being interpreted as an assignment suppression character ?</p>
  <p>Example1:</p>
  <pre><code>char str[100];
  scanf(&quot;%**s %s&quot;, 10, str);
  </code></pre>
  <p>the 1st asterisk should be interpreted as assignment supression and the 2nd as the field width, thus the above scanf should read and ignore 10 characters, and then read and store the next string in str.</p>
  <p>Example2:</p>
  <pre><code>char str[100];
  scanf(&quot;%*s&quot;, 10, str);
  </code></pre>
  <p>the 1st asterisk should be interpreted as the field width, so the above scanf should read 10 characters and store them in str</p>