Returning pointer

Discussion in 'Meet and Greet' started by mukund, May 8, 2010.

  1. mukund

    mukund New Member

    Joined:
    May 8, 2010
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hello everyone.
    Can anyone please explain why it is illegal to return a pointer to a local variable?

    Thanks in advance.
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice