Solved

A Function May Return a Pointer, but the Programmer Must

Question 19

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) has been assigned an address.
C) was received as a parameter by the function.
D) has not previously been returned by another function.
E) None of the above

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

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