Capgemini Interview Question

string programs and dynamic memory allocation