vector should store in a non-contiguous memory location as we are using heap memory in vectors??
Quiz Vector STL
hello Akshat,
In vector elements are stored in continuous fashion only (same as arrays).
i.e
if x is address of first element of array then next address will be for second element and so on