Update pointer.cpp