logoalt Hacker News

potato-peelerlast Thursday at 11:12 AM1 replyview on HN

If the variable was defined in the calling function itself, and a pointer was passed, I guess the variable will still be in the heap?


Replies

Yokohiiilast Thursday at 11:41 AM

Pointers escape to the heap by default.