Want to know the right answer to the question you’re searching for? Scroll down to get the answer below.
A function may return a pointer, but the programmer must ensure that the pointer
- still points to a valid object after the function ends
- has not been assigned an address
- was received as a parameter by the function
- was received as a parameter by the function
- None of these
Answer: still points to a valid object after the function ends