In which type of storage location are the vector members stored?
A. Contiguous storage locations
B. Non-contiguous storage locations
C. Both a & b
D. None of the mentioned
Answer:A
In which type of storage location are the vector members stored?
A. Contiguous storage locations B. Non-contiguous storage locations C. Both a & b D. None of the mentioned
Explanation:Vectors use contiguous storage locations for their elements, which means that their elements can also be accessed using offsets on regular pointers to its elements