This lesson is for subscribers
You've completed the free preview. Subscribe to unlock every lesson in every course.
Stack variables live until function returns; heap objects persist until explicitly freed or garbage collected.
You've completed the free preview. Subscribe to unlock every lesson in every course.