An array stores a fixed-size sequential collection of elements of the same type and is index-based whereas a vector is a sequential container to store elements and not index-based.
239 questions
203 answers
2 comments
692 users