421,576 views
13 votes
13 votes
Difference between array processor and vector processor​

User Eric Alford
by
2.9k points

2 Answers

18 votes
18 votes

Answer:

An array is made up of indexed collections of information called indices, the plural form of the word "index." Though an array can, in rare cases, have only one index collection, a vector is technically indicative of an array with at least two indices. Vectors are sometimes referred to as "blocks" of computer data.

Step-by-step explanation:

Array stores a fixed-size sequential collection of elements of the same type and it is index based. Vector is dynamic in nature so, size increases with insertion of elements. As array is fixed size, once initialized can't be resized. Vector occupies more memory.

User Beth
by
2.9k points
7 votes
7 votes

Answer:

An array is used for the storaging the paticular given size element that is either fixed or given by the user. However an vector is also used for storing purpose but the size of the table is assign automatically during the running time of the program or we say dynamic size assign to table.

User Haisergeant
by
2.4k points