IMC Interview Question

How does the c++ std string work, exactly?