Solved

A Function May Return a Pointer, but the Programmer Must

Question 3

Multiple Choice

A function may return a pointer, but the programmer must ensure that the pointer


A) is pointing to an object that is still valid after the return of the function.
B) was received as a parameter by the function.
C) has been assigned an address.
D) has not previously been returned by another function.
E) None of the above

Correct Answer:

verifed

Verified

Related Questions

Unlock this Answer For Free Now!

View this answer and more for free by performing one of the following actions

qr-code

Scan the QR code to install the App and get 2 free unlocks

upload documents

Unlock quizzes for free by uploading documents