title: using memset to initialize vector of structure which contains array
body: <p>I have following structure </p>
  
  <pre><code>struct a {
       int array[20]
       int array2[45]
  }
  </code></pre>
  
  <p>I have created vector of this structure </p>
  
  <pre><code>vector&lt;a&gt; vec;
  </code></pre>
  
  <p>I have used this vec. Now i Want to initialize(setting all array values inside object in the vector element) to zero. How can i do it.?</p>