Sail E0 Webinar
Question

In which type of storage location are the vector members stored?


Options:
A .  Contiguous storage locations
B .  Non-contiguous storage locations
C .  Both a & b
D .  None of the mentioned
Answer: Option A

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



Was this answer helpful ?
Next Question

Submit Solution

Your email address will not be published. Required fields are marked *

Latest Videos

Latest Test Papers