Which of the following is a difference between vectors and arrays?
A. Access to any element using the [] operator.
B. Stored in contiguous blocks of memory.
C. The ability to change size dynamically.
D. Efficient direct access to any element.
Answer:C
Which of the following is a difference between vectors and arrays?
A. Access to any element using the [] operator. B. Stored in contiguous blocks of memory. C. The ability to change size dynamically. D. Efficient direct access to any element.