Question: Why would you choose to use a vector over an array in C + + ? a . Vectors use dynamic memory ( size can
Why would you choose to use a vector over an array in
a Vectors use dynamic memory size can change through the course of the program
b Vectors come with many functions that make data much easier to manage.
c During declaration, the vector's size is not defined, unlike the array's.
d All the above.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
