test this pointer of C++