Become a member
Sign in
Khris Aaaa
Khris Aaaa

Khris Aaaa

2 Following
1 Followers
  • Profile
  • Claps
  • Highlights

Highlighted by Khris Aaaa

See more

From Confused about Stack and Heap? by Franziska Hinkelmann

…ed in the C++ standard. Instead, the standard distinguishes automatic and dynamic storage duration. Local variables have automatic storage duration and compilers store them on the stack. Objects with dynamic memory allocation (created with new) are stored on the free store, conventionally referred to as the heap. In languages that are not garbage-collected, objects on the heap lead to memory leaks if they are not freed.

Claps from Khris Aaaa

See more

Every Chapter of Thinking Fast, and Slow in 7 Minutes

Conor Dewey