The scope rules for pointers and references are no different than any other variable type. If that pointer or reference is declared locally, that local variable ceases to exist once the function...