Hello everyone.
Can anyone please explain why it is illegal to return a pointer to a local variable?

Thanks in advance.