Hi sagar
Arrays are not faster than vectors. Vectors are fully compatible with arrays. There is, however, an overhead in memory usage - which does matter if and only if you have very very many vectors. Vectors are recommended as the substitution for C-style arrays - use them as such. (One simple reason is that you will, at some point, realize that you need to know the size of your array. Then you are screwed if you didn't use vectors in the first place. Another reason is the clean way of handling all containers in the same way - when using a vector::const_iterator it is written in exactly the same way as a list::const_iterator, but for an array things are different. So when changing the container type, you can either change all your source code, or just the container, if you were using a vector and it's common interface. In short, preferring vectors over arrays gives you many advantages for very little extra (memory) cost)...