Dynamic arrays vs STL vectors exact Difference?
<p>What is the exact difference between dynamic arrays and vectors. It was an interview question to me.</p>

<ol>
<li><p>I said both have sequential memory.</p></li>
<li><p>Vectors can be grown in size at any point in the code. He then said even dynamic arrays can be grown in size after creating.</p></li>
<li><p>I said vectors are error free since it is in the standard library. He said he will provide as .so file of dynamic arrays which is error free and has all the qualities on par with STL.</p></li>
</ol>

<p>I am confused and didn't answer the exact difference. When I searched on Internet, I had seen the above statements only.</p>

<p>Can someone please explain me the exact difference? And what was the interviewer expecting from me?</p>
