cpp learning pointer as parameter can change its reference value, but not pointer value itself