Capgemini interview question

Differnce between array and vector