Vectors vs Dynamic arrays : <p>I find it possible to initialise arrays dynamically in C++.
 By this i mean :</p>

<pre><code>int n;
int ar[n];
</code></pre>

<p>works fine.</p>

<p>So what is the difference between this and <strong>vectors</strong> ?</p>
