Murex interview question

How vector in c++ works ?