C++ Pointers and Arrays Test