Question: What is the main difference between a 'vector' and an array? Vectors are statically sized and arrays are dynamically sized Vectors are dynamically sized and
What is the main difference between a 'vector' and an array?
Vectors are statically sized and arrays are dynamically sized
Vectors are dynamically sized and arrays are statically sized
Vectors can only be used with nonprimitive types
Vectors cannot be templatized ie generic
None are correct
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
