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

a. still points to a valid object after the function ends
b. has not 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 these

a. still points to a valid object after the function ends

Computer Science & Information Technology

You might also like to view...

In a business letter, reference notations include items such as initials, enclosures, and copies

Indicate whether the statement is true or false

Computer Science & Information Technology

Which of the following is the file extension for a Word Macro-Enabled Document?

A) .doc B) .docm C) .docx D) .mdoc

Computer Science & Information Technology