title: c++ does implicit copy constructor copy array member variable?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4164279/how-are-c-array-members-handled-in-copy-control-functions">How are C array members handled in copy control functions?</a>  </p>
  </blockquote>
  
  
  
  <p>I would guess implicit copy constructor (generated by compiler) would copy pointer if member variable is declared as pointer. </p>
  
  <p>I'm not sure what happens to array member variable.</p>
  
  <p>Does implicit copy constructor copy array member correctly? How about assignment operator?   </p>
  
  <p>For instance:</p>
  
  <pre><code>char mCharArray[100];
  int mIntArray[100];   
  </code></pre>
  
  <p>Would the mCharArray mIntArray be copied correctly? </p>