Printf with unfixed length : <p>I need to </p>

<blockquote>
  <p>printf(%?d)</p>
</blockquote>

<p>Where '?' is some int. How can I do it?
I'm using pure c.
I've tried to work with const char* array. But there was no result.</p>
