IBM Interview Question

How do vectors work in c++?