Barclays Interview Question

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