2 ms·
The stack is a cheap/fast memory allocator. Upon return (out of scope for local variables) its freed. Don't point to freed memory.
by JoeAltmaier 13y ago
The stack is a cheap/fast memory allocator. Upon return (out of scope for local variables) its freed. Don't point to freed memory.