×

Loading...

Right answer is as follows: 1,3 are right, 2 is wrong. Since the second return a pointer which point to a temporary object. So when the function returns, the pointer becomes a suspending pointer.

Report

Replies, comments and Discussions: