Vector are sequence container.vector containers are implemented as dynamic array.vector store elements in contiguous memory allocation.means vector elements we can find using pointer.
features of vector
1.Access elements in according to index value.
2.iterate element in any order in liner time
3.Remove element from its end (constant time)
they are same like a array but in vector memory handle in dynamic way
features of vector
1.Access elements in according to index value.
2.iterate element in any order in liner time
3.Remove element from its end (constant time)
they are same like a array but in vector memory handle in dynamic way
Comments
Post a Comment