Study of Pointers in C++