Go4Expert

Go4Expert (http://www.go4expert.com/)
-   Meet and Greet (http://www.go4expert.com/community/meet-and-greet/)
-   -   Returning pointer (http://www.go4expert.com/community/returning-pointer-t22045/)

mukund 9May2010 00:33

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

Thanks in advance.


All times are GMT +5.5. The time now is 03:39.