Pointer constructor allocates memory by default