title: How to format printf statement better so things always line up
body: <p>I have this printf statement:</p>
  
  <pre><code> printf("name: %s\t"
          "args: %s\t"
          "value %d\t"
          "arraysize %d\t"
          "scope %d\n",
           sp-&gt;name,
           sp-&gt;args,
           sp-&gt;value,
           sp-&gt;arraysize,
           sp-&gt;scope);
  </code></pre>
  
  <p>It's inside a for loop, so it's printing multiple lines for a list of pointers.  </p>
  
  <p>The problem is that if some of the things that are printed are longer or shorter, it causes things to not line up.  How do I get it to always line up?</p>