Example code on pointers and const