title: How do I create a `static` array of constant size with zeroed values, but without calloc?
body: <p>I currently have some code in a function that looks like this:</p>
  <pre><code>static const int kFrameCountSample = 250;
  static float * samples = (float *)calloc(kFrameCountSample, sizeof(float));
  </code></pre>
  <p>I like that the samples array is zeroed out exactly once with <code>calloc()</code>.</p>
  <p>I can also write the code so <code>samples</code> is allocated on the stack.</p>
  <pre><code>static const int kFrameCountSample = 250;
  static float samples[kFrameCountSample];
  </code></pre>
  <p>but now <code>samples</code> is not initialized to zero values. How would I also initialize it at the time it is allocated?</p>