|
Hi,
Array is a static data structure but vertor is dynamic. For example if you
declare int a[10] as array you are able to store only 0 to 9 values. When you declare the same Vector a its dynamically grow depends on your code, you can store 1 to ...etc data in that.
|