array implementation using c++ STL : <p>I have tried these two cannot understand the difference</p>

<pre><code>     vector&lt;int &gt;a(n) and vector&lt;int &gt;a[n]
</code></pre>

<p>Please someone explain.thanks</p>
