Pergunta de entrevista da empresa Barclays

Various basic C++ questions. An example is a simple task of reversing a string.