title: Is there a way to have printf() properly print out an array (of floats, say)?
body: <p>I believe I have carefully read the entire <code>printf()</code> documentation but could not find any way to have it print out, say, the elements of a 10-element array of <code>float(s)</code>.</p>
  
  <p>E.g., if I have</p>
  
  <pre><code>float[] foo = {1., 2., 3., ..., 10.};
  </code></pre>
  
  <p>Then I'd like to have a single statement such as</p>
  
  <pre><code>printf("what_do_I_put_here\n", foo);
  </code></pre>
  
  <p>Which would print out something along the lines of:</p>
  
  <pre><code>1. 2. 3. .... 10.
  </code></pre>
  
  <p>Is there a way to do that in vanilla C?</p>