MathWorks Interview Question

How does vector work in C++ (They expect an explanation on internal working)?