BNY Interview Question

Find bugs in C++ code.