title: C - How to use own value (instead of 0) with calloc
body: <p>In C when we use the calloc method; all the reserved memory will be initialized to <code>0</code>.</p>
  
  <p>Is there any way to initialize it with another value <b>without</b> iterating over all the values?
  For example:</p>
  
  <pre><code>int* example = calloc(100,sizeof(int));
  </code></pre>
  
  <p>This will create an array of 100 zero's, but I want this to be (for example) 100 ones.</p>