Array and Vector Assignment Help
Difference between Array and Vector
It is a containers which establish in a sequence stores data and elements.
And contains storage and works efficiently and dynamically. Its size increases dynamically.
But it occupies a huge memory of central processing unit. It does not applies structure so there is no index number in vectors.
Its execution is very lengthy and time consuming.
It is a concept of data structures it takes less memory and works dynamically. Its length is constant and fixed in size. Its takes memory efficiently.
You can also works arrays in interfaces. It works in structures so that’s mean it has indexes to work dynamically. It does not take a longer time to execute. It has more than two dimensions.