what is different vector between array??
When declaring an array you assign a fixed size, a vector can always get more elements.
array memory I static, vector is dynamic
arrays are like a vending machine. vectors on the other hand is like a fully automated sushi bar, the ones were sushie rolls around on a track.