Question: Which of these statements about pointers are correct? A. Pointer can be the return type of a function. B. A function must not return a

Which of these statements about pointers are correct? A. Pointer can be the return type of a function. B. A function must not return a pointer to a non-static, local variable. C. A function should return only a pointer to data that was passed to the function as an argument or to dynamically allocated memory. D. All of the above. E. A and C only.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!